Skip to content

Commit db5cfb9

Browse files
committed
fix: Update to latest tag
1 parent 3dc8ff4 commit db5cfb9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/container-security.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,14 @@ jobs:
5353
with:
5454
file: "${{ inputs.container-file }}"
5555
context: .
56+
tags: ${{ inputs.container-name }}:latest
5657

5758
# Scan the image for vulnerabilities
5859
- name: Run the Anchore / Grype scan action
5960
uses: anchore/scan-action@f2ba85e044c8f5e5014c9a539328a9c78d3bfa49 # v5.2.1
6061
id: scan
6162
with:
62-
image: "${{ env.REGISTRY }}/${{ inputs.container-name }}:${{ steps.build.outputs.digest }}"
63+
image: "${{ inputs.container-name }}:latest"
6364
only-fixed: true
6465
fail-build: ${{ inputs.scanning-block }}
6566

0 commit comments

Comments
 (0)