Skip to content

Commit

Permalink
Update publish-ghcr-and-docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
maaikelimper authored Jan 10, 2025
1 parent 816da4b commit b0274a3
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/publish-ghcr-and-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ on:
release:
types: [published]

permissions:
contents: read
packages: write
issues: write
pull-requests: write

env:
DOCKER_ORG: wmoim

Expand All @@ -31,7 +37,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3.3.0

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
Expand Down Expand Up @@ -62,10 +68,10 @@ jobs:
type=pep440,pattern={{version}}
- name: Build and push
uses: docker/build-push-action@v2.7.0
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: ./
file: ./Dockerfile
context: .
file: ./docker/Dockerfile
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/arm64, linux/amd64
Expand Down

0 comments on commit b0274a3

Please sign in to comment.