Skip to content

Commit 3e78eed

Browse files
committed
fix: Fix synk tests (synk apparently does not support --build-arg)
1 parent 2b4683b commit 3e78eed

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/master.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ jobs:
159159
- name: Run Snyk container test
160160
env:
161161
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
162-
run: snyk container test --severity-threshold=high --file=./Dockerfile --docker boky/postfix:edge-alpine --build-arg BASE_IMAGE=${{ env.ALPINE_IMAGE }}
162+
run: snyk container test --severity-threshold=high --file=./Dockerfile --docker boky/postfix:edge-alpine # --build-arg BASE_IMAGE=${{ env.ALPINE_IMAGE }}
163163

164164
Build_Ubuntu:
165165
runs-on: ubuntu-latest
@@ -240,7 +240,7 @@ jobs:
240240
- name: Run Snyk container test
241241
env:
242242
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
243-
run: snyk container test --severity-threshold=high --file=./Dockerfile --docker boky/postfix:edge-ubuntu --build-arg BASE_IMAGE=${{ env.UBUNTU_IMAGE }}
243+
run: snyk container test --severity-threshold=high --file=./Dockerfile --docker boky/postfix:edge-ubuntu # --build-arg BASE_IMAGE=${{ env.UBUNTU_IMAGE }}
244244

245245
Build_Debian:
246246
runs-on: ubuntu-latest
@@ -332,4 +332,4 @@ jobs:
332332
- name: Run Snyk container test
333333
env:
334334
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
335-
run: snyk container test --severity-threshold=high --file=./Dockerfile --docker boky/postfix:edge-debian --build-arg BASE_IMAGE=${{ env.DEBIAN_IMAGE }}
335+
run: snyk container test --severity-threshold=high --file=./Dockerfile --docker boky/postfix:edge-debian # --build-arg BASE_IMAGE=${{ env.DEBIAN_IMAGE }}

.github/workflows/tags.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ jobs:
144144
- name: Run Snyk container test
145145
env:
146146
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
147-
run: snyk container test --severity-threshold=high --file=./Dockerfile --docker boky/postfix:${{ env.RELEASE_VERSION }}-alpine --build-arg BASE_IMAGE=${{ env.ALPINE_IMAGE }}
147+
run: snyk container test --severity-threshold=high --file=./Dockerfile --docker boky/postfix:${{ env.RELEASE_VERSION }}-alpine # --build-arg BASE_IMAGE=${{ env.ALPINE_IMAGE }}
148148

149149
Build_Ubuntu:
150150
runs-on: ubuntu-latest
@@ -223,7 +223,7 @@ jobs:
223223
- name: Run Snyk container test
224224
env:
225225
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
226-
run: snyk container test --severity-threshold=high --file=./Dockerfile --docker boky/postfix:${{ env.RELEASE_VERSION }}-ubuntu --build-arg BASE_IMAGE=${{ env.UBUNTU_IMAGE }}
226+
run: snyk container test --severity-threshold=high --file=./Dockerfile --docker boky/postfix:${{ env.RELEASE_VERSION }}-ubuntu # --build-arg BASE_IMAGE=${{ env.UBUNTU_IMAGE }}
227227

228228

229229
Build_Debian:
@@ -306,7 +306,7 @@ jobs:
306306
- name: Run Snyk container test
307307
env:
308308
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
309-
run: snyk container test --severity-threshold=high --file=./Dockerfile --docker boky/postfix:${{ env.RELEASE_VERSION }}-debian --build-arg BASE_IMAGE=${{ env.DEBIAN_IMAGE }}
309+
run: snyk container test --severity-threshold=high --file=./Dockerfile --docker boky/postfix:${{ env.RELEASE_VERSION }}-debian # --build-arg BASE_IMAGE=${{ env.DEBIAN_IMAGE }}
310310

311311

312312
Release:

0 commit comments

Comments
 (0)