Skip to content

Commit e200396

Browse files
authored
Update scan_code.yml
1 parent 8dd8bd4 commit e200396

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/scan_code.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ jobs:
1515
uses: actions/checkout@v4
1616

1717
- name: Log in to GitHub Container Registry
18-
run: echo "${{ secrets.SK_PAT }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
19-
18+
run: echo "${{ secrets.SK_PAT }}" | docker login ghcr.io -u ${{ github.actor }}
19+
2020
- name: Pull container image
2121
run: docker pull ghcr.io/flaxandteal/arches_coral_static:latest
2222

2323
- name: Run Snyk scan
2424
uses: snyk/actions/docker@master
2525
env:
26-
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
26+
SK_PAT: ${{ secrets.SK_PAT }}
2727
with:
2828
image: ghcr.io/flaxandteal/arches_coral_static:latest
2929
args: --file=Dockerfile --severity-threshold=high

0 commit comments

Comments
 (0)