Add :test-build-only tag
This commit is contained in:
parent
e95f2a1a21
commit
c8eb770920
|
@ -86,7 +86,7 @@ jobs:
|
||||||
id: docker-push
|
id: docker-push
|
||||||
with:
|
with:
|
||||||
push: false
|
push: false
|
||||||
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.BRANCH }}
|
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:test-build-only
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
context: ${{ env.CONTEXT }}
|
context: ${{ env.CONTEXT }}
|
||||||
file: ${{ env.CONTEXT }}${{ env.DOCKERFILE_PATH }}/${{ env.DOCKERFILE }}
|
file: ${{ env.CONTEXT }}${{ env.DOCKERFILE_PATH }}/${{ env.DOCKERFILE }}
|
||||||
|
@ -103,7 +103,7 @@ jobs:
|
||||||
- name: Run Trivy container image vulnerability scanner
|
- name: Run Trivy container image vulnerability scanner
|
||||||
uses: aquasecurity/trivy-action@0.12.0
|
uses: aquasecurity/trivy-action@0.12.0
|
||||||
with:
|
with:
|
||||||
image-ref: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.BRANCH }}
|
image-ref: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:test-build-only
|
||||||
format: sarif
|
format: sarif
|
||||||
output: trivy-results.sarif
|
output: trivy-results.sarif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue