Skip to content

Commit 8a175ab

Browse files
authored
Fix docker image scanning action
1 parent b5d79b4 commit 8a175ab

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/scheduled-snyk-docker.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,14 @@ jobs:
1414
permissions:
1515
contents: read
1616
security-events: write
17+
packages: read
1718

1819
steps:
1920
- uses: actions/checkout@v5
20-
21+
22+
- name: Lowercase image name
23+
run: echo "DOCKER_IMAGE=ghcr.io/${GITHUB_REPOSITORY,,}/management-portal" >> ${GITHUB_ENV}
24+
2125
- name: Run Snyk to check for vulnerabilities
2226
continue-on-error: true # To make sure that SARIF upload gets called
2327
uses: snyk/actions/docker@master

0 commit comments

Comments
 (0)