mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-06-28 01:06:58 +00:00
Syntax fix
This commit is contained in:
parent
532fedbb62
commit
43070ab809
7
.github/workflows/docker.yml
vendored
7
.github/workflows/docker.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- name: Generate a shorter Git commit sha.
|
- name: Generate a shorter Git commit sha.
|
||||||
id: gen)short_sha
|
id: gen_short_sha
|
||||||
run: echo "SHORT_SHA=${GITHUB_SHA::8}" >> $GITHUB_ENV
|
run: echo "SHORT_SHA=${GITHUB_SHA::8}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@ -55,7 +55,7 @@ jobs:
|
|||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Docker meta by docs https://github.com/docker/metadata-action
|
- name: Docker meta by docs https://github.com/docker/metadata-action
|
||||||
id: meta
|
id: metadata
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
@ -64,7 +64,6 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
type=ref,event=branch,format={{ref_name}}
|
type=ref,event=branch,format={{ref_name}}
|
||||||
type=raw,value=${{ env.SHORT_SHA }}
|
type=raw,value=${{ env.SHORT_SHA }}
|
||||||
|
|
||||||
type=semver,pattern={{ version }}
|
type=semver,pattern={{ version }}
|
||||||
type=semver,pattern=latest
|
type=semver,pattern=latest
|
||||||
|
|
||||||
@ -89,7 +88,7 @@ jobs:
|
|||||||
uses: docker/scout-action@v1
|
uses: docker/scout-action@v1
|
||||||
with:
|
with:
|
||||||
command: cves
|
command: cves
|
||||||
image: ${{ env.GITHUB_CONTAINER_PREFIX }}/${{ env.DOCKER_IMAGE }}:nightly
|
image: ${{ env.GITHUB_CONTAINER_PREFIX }}/${{ env.DOCKER_IMAGE }}:main
|
||||||
only-severities: critical,high
|
only-severities: critical,high
|
||||||
only-fixed: true
|
only-fixed: true
|
||||||
write-comment: true
|
write-comment: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user