fix ref name
This commit is contained in:
parent
bfb104e662
commit
50b5505d8e
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
|
|
@ -58,14 +58,14 @@ jobs:
|
|||
outputs: type=image,"name=${{ env.GHCR_REPO }}",push-by-digest=true,name-canonical=true,push=false
|
||||
context: ./build
|
||||
file: ./build/Dockerfile
|
||||
tags: "${{ env.DOCKER_REPO_DEV }}:${{ github.head_ref }}"
|
||||
tags: "${{ env.DOCKER_REPO_DEV }}:${{ github.ref_name }}"
|
||||
build-args: |
|
||||
version=${{ env.version }}
|
||||
- name: Scan image
|
||||
id: scan
|
||||
uses: anchore/scan-action@v6
|
||||
with:
|
||||
image: "${{ env.DOCKER_REPO_DEV }}:${{ github.head_ref }}"
|
||||
image: "${{ env.DOCKER_REPO_DEV }}:${{ github.ref_name }}"
|
||||
fail-build: false
|
||||
severity-cutoff: critical
|
||||
- name: Upload Anchore scan SARIF report
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue