Skip to content

Commit

Permalink
tools: github actions: don't mark latest docker image build as failed…
Browse files Browse the repository at this point in the history
… when trivy detects vulnerabilities
  • Loading branch information
nodiscc committed Dec 3, 2023
1 parent 709aba2 commit 52f232b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
- name: Run trivy scanner on latest docker image
run: make test_trivy_docker TRIVY_TARGET_DOCKER_IMAGE=ghcr.io/${{ secrets.DOCKER_IMAGE }}:latest
run: make test_trivy_docker TRIVY_EXIT_CODE=0 TRIVY_TARGET_DOCKER_IMAGE=ghcr.io/${{ secrets.DOCKER_IMAGE }}:latest

0 comments on commit 52f232b

Please sign in to comment.