Skip to content

Commit 5394bc9

Browse files
authored
Update scan_code.yml
1 parent e3125d8 commit 5394bc9

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/scan_code.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
jobs:
1111
security_scan:
1212
runs-on: ubuntu-latest
13+
env:
14+
ImageName: ghcr.io/flaxandteal/arches_coral_static_py
15+
ImageTag: v7.6.19-RELEASE
16+
# ghcr.io/flaxandteal/arches_coral_static:dev-13650788094
1317
steps:
1418
- name: Checkout repository
1519
uses: actions/checkout@v4
@@ -18,12 +22,13 @@ jobs:
1822
run: echo "${{ secrets.GHCR_PAT }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
1923

2024
- name: Pull container image
21-
run: docker pull ghcr.io/flaxandteal/arches_coral_static:dev-13650788094
25+
run: docker pull $ImageName:$ImageTag
2226

2327
- name: Run Snyk scan
2428
uses: snyk/actions/docker@master
2529
env:
2630
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
2731
with:
28-
image: ghcr.io/flaxandteal/arches_coral_static:dev-13650788094
32+
image: $ImageName:$ImageTag
2933
# args: --file=Dockerfile --severity-threshold=high
34+

0 commit comments

Comments
 (0)