Skip to content

Commit 76035ff

Browse files
committed
SQUASH: fidgeting with Docker Image Build Action
1 parent 368f266 commit 76035ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-and-sign-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ jobs:
5151
context: .
5252
file: ./Dockerfile
5353
push: false
54-
tags: ${{ env.IMAGE_NAME }}:${{ github.sha }}
54+
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}
5555

5656
# NOTE: This runs statically against the latest tag in Docker Hub which was not produced by this workflow
5757
# This should be updated once this workflow is fully implemented
5858
- name: Run Trivy vulnerability scanner
5959
uses: aquasecurity/trivy-action@1f0aa582c8c8f5f7639610d6d38baddfea4fdcee # 0.9.2
6060
continue-on-error: true
6161
with:
62-
image-ref: ${{ env.IMAGE_NAME }}:latest
62+
image-ref: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
6363
format: 'sarif'
6464
output: 'trivy-results-${{ inputs.image }}.sarif'
6565
ignore-unfixed: 'true'

0 commit comments

Comments
 (0)