Skip to content

Commit

Permalink
ci: rework workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed May 29, 2024
1 parent d5f29a5 commit 7fb8b8c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 32 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/main.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish

on:
push:
branches:
- master

jobs:
docker:
name: Build and push Docker image
runs-on: ubuntu-latest
steps:
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v5
with:
push: true
tags: ghcr.io/hermit-os/hermit-toolchain:latest

0 comments on commit 7fb8b8c

Please sign in to comment.