Skip to content

Commit

Permalink
fix: docker push
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Jul 18, 2024
1 parent 8539312 commit 915e07b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ env:
katsu
https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-40.noarch.rpm
https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-40.noarch.rpm
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
on:
push:
branches: [ "um40" ]
Expand Down Expand Up @@ -146,6 +147,9 @@ jobs:
buildah manifest push --all --format v2s2 $MANIFEST docker://$MANIFEST:$RELEASE
docker-layer:
permissions:
contents: read
packages: write
runs-on: ubuntu-latest
needs: docker-push
strategy:
Expand All @@ -163,6 +167,12 @@ jobs:
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log into registry ${{ env.REGISTRY }}
uses: docker/[email protected]
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build images
uses: docker/build-push-action@v6
Expand Down

0 comments on commit 915e07b

Please sign in to comment.