gihub actions: fix value of TRIVY_TARGET_DOCKER_IMAGE

- fixes Error response from daemon: no such image: ghcr.io/***:trivy: No such image: ghcr.io/***:trivy
- introduced in https://github.com/shaarli/Shaarli/pull/1980 but the test target branch/tag was never reverted to 'latest'
This commit is contained in:
nodiscc 2023-05-21 21:08:33 +02:00
parent 27db81ab07
commit 0eee6a2ba1
No known key found for this signature in database
GPG key ID: 067FC4266A4B6909

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