Skip to content

Commit

Permalink
fix permissions on github docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
sduchesneau committed Feb 11, 2025
1 parent 211a51e commit c17c10b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'push'

permissions:
contents: read
packages: write

steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -48,4 +52,3 @@ jobs:
docker tag $IMAGE_NAME $IMAGE_ID:$VERSION
docker tag $IMAGE_NAME $IMAGE_ID:latest
docker push $IMAGE_ID:$VERSION

0 comments on commit c17c10b

Please sign in to comment.