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