Skip to content

Commit 2012040

Browse files
Set continue-on-error to false for Trivy scan and uncomment Dockerfile path in push image step
1 parent f4e63c3 commit 2012040

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-docker-artifacts.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ jobs:
247247
ignore-unfixed: false
248248
vuln-type: 'os,library'
249249
severity: 'MEDIUM,HIGH,CRITICAL'
250-
continue-on-error: true
250+
continue-on-error: false
251251

252252
# - name: Upload Trivy scan results
253253
# uses: github/codeql-action/upload-sarif@v2
@@ -258,7 +258,7 @@ jobs:
258258
- name: Push image
259259
uses: docker/build-push-action@v6
260260
with:
261-
# file: ${{ matrix.component.flavor_directory }}/${{ matrix.component.directory }}/Dockerfile
261+
file: ${{ matrix.component.flavor_directory }}/${{ matrix.component.directory }}/Dockerfile
262262
push: true
263263
provenance: false
264264
context: .

0 commit comments

Comments
 (0)