Merge pull request #1989 from nodiscc/trivy-fix-target-docker-image

gihub actions: fix value of TRIVY_TARGET_DOCKER_IMAGE
This commit is contained in:
nodiscc 2023-05-21 19:10:36 +00:00 committed by GitHub
commit 467b28c237
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,4 +42,4 @@ jobs:
- name: Image digest - name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }} run: echo ${{ steps.docker_build.outputs.digest }}
- name: Run trivy image scanner - name: Run trivy image scanner
run: make test_trivy TRIVY_TARGET_DOCKER_IMAGE=ghcr.io/${{ secrets.DOCKER_IMAGE }}:trivy run: make test_trivy TRIVY_TARGET_DOCKER_IMAGE=ghcr.io/${{ secrets.DOCKER_IMAGE }}:latest