Skip to content

Commit 75e53ee

Browse files
committed
Update GitHub Actions workflow to set permissions for contents and packages
1 parent 19daa0b commit 75e53ee

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/docker-build.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
- main
88
- dev
99

10+
permissions:
11+
contents: read
12+
packages: write
13+
1014
jobs:
1115
build-main-image:
1216
uses: ./.github/workflows/build-docker-image.yaml
@@ -57,4 +61,4 @@ jobs:
5761
image_name: ${{ github.repository }}
5862
cache_id: minimum
5963
extract_flavor: suffix=-minimum,onlatest=true
60-
extract_tags: type=raw,enable=${{ github.ref == 'refs/heads/main' }},prefix=,suffix=,value=minimum
64+
extract_tags: type=raw,enable=${{ github.ref == 'refs/heads/main' }},prefix=,suffix=,value=minimum

0 commit comments

Comments
 (0)