mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2025-12-06 08:27:08 +00:00
fix ref name
This commit is contained in:
parent
bfb104e662
commit
50b5505d8e
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…
Reference in New Issue
Block a user