Skip to content

Commit

Permalink
Apply the package write permission to all jobs in the workflow
Browse files Browse the repository at this point in the history
Signed-off-by: K. Shankari <[email protected]>
  • Loading branch information
K. Shankari committed Nov 15, 2024
1 parent ee87029 commit 2b0bc65
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ on:
tags:
- 'v*'

permissions:
contents: read
packages: write

env:
REGISTRY: ghcr.io
DOCKER_DIRECTORY: docker/images
Expand All @@ -33,10 +37,6 @@ jobs:
name: Evaluate force rebuild and set env variables as outputs
runs-on: ubuntu-24.04

permissions:
contents: read
packages: write

outputs:
force_rebuild: ${{ steps.check.outputs.force_rebuild }}
docker_registry: ${{ env.REGISTRY }}
Expand Down

0 comments on commit 2b0bc65

Please sign in to comment.