Skip to content

Commit 57a254d

Browse files
docker: enable actions permission for trivy job to make runner green
1 parent d197105 commit 57a254d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docker.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
ghcr.io:443
6161
github.com:443
6262
api.github.com:443
63-
pkg-containers.githubusercontent.com:443
63+
*.githubusercontent.com
6464
docker.io:443
6565
auth.docker.io:443
6666
index.docker.io:443
@@ -208,7 +208,7 @@ jobs:
208208
github.com:443
209209
api.github.com:443
210210
docker.io:443
211-
pkg-containers.githubusercontent.com:443
211+
*.githubusercontent.com
212212
auth.docker.io:443
213213
registry-1.docker.io:443
214214
production.cloudflare.docker.com:443
@@ -331,7 +331,7 @@ jobs:
331331
permissions:
332332
contents: read # for actions/checkout to fetch code
333333
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
334-
#actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
334+
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
335335
with:
336336
scan-type: 'image'
337337
image-ref: '${{ needs.publish.outputs.image }}:${{ needs.publish.outputs.version }}'
@@ -344,7 +344,7 @@ jobs:
344344
permissions:
345345
contents: read # for actions/checkout to fetch code
346346
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
347-
#actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
347+
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
348348
with:
349349
scan-type: 'image'
350350
image-ref: '${{ needs.allinone.outputs.image }}:${{ needs.allinone.outputs.version }}'

0 commit comments

Comments
 (0)