Skip to content

Commit

Permalink
Update Trivy vulnerability scanner image reference
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytes committed Feb 14, 2024
1 parent b87e132 commit 4781f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'docker.io/library/${{ env.IMAGE_NAME }}:${{ env.TAG }}'
image-ref: ${{ fromJSON(steps.build-and-push.outputs.metadata)['image.name'] }}
format: 'github'
github-pat: ${{ github.token }}
env:
Expand Down

0 comments on commit 4781f82

Please sign in to comment.