Skip to content

Merge pull request #42 from hermit-os/rm-toolchain.sh #86

Merge pull request #42 from hermit-os/rm-toolchain.sh

Merge pull request #42 from hermit-os/rm-toolchain.sh #86

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