Skip to content

feat: remove toolchain.sh in favor of Dockerfile #74

feat: remove toolchain.sh in favor of Dockerfile

feat: remove toolchain.sh in favor of Dockerfile #74

Workflow file for this run

name: Publish
on:
push:
branches:
- main
workflow_dispatch:
pull_request:
merge_group:
jobs:
docker:
name: Build and push Docker image
runs-on: ubuntu-latest
steps:
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
if: github.ref_name == 'main'
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v5
with:
push: ${{ github.ref_name == 'main' }}
tags: ghcr.io/hermit-os/hermit-gcc:latest