Skip to content

Commit

Permalink
feat(): execute Docker Scout against tags yielded by metadata step
Browse files Browse the repository at this point in the history
  • Loading branch information
e7d committed Apr 5, 2024
1 parent 78860f1 commit ff17ff1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,16 @@ jobs:
uses: docker/scout-action@v1
with:
command: cves,recommendations,compare
image: ${{ vars.DOCKERHUB_IMAGE }}:${{ env.SHA }}
to: ${{ vars.DOCKERHUB_IMAGE }}:latest
image: ${{ steps.meta.outputs.tags }}
to: ${{ vars.GHCR_IMAGE }}:latest
ignore-base: true
ignore-unchanged: true
only-fixed: true
# only-severities: critical,high
write-comment: true
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Update repo description
if: github.ref == 'refs/heads/main'
if: ${{ github.ref == 'refs/heads/main' }}
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
Expand Down

0 comments on commit ff17ff1

Please sign in to comment.