mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-06-28 01:06:58 +00:00
hotfix
This commit is contained in:
parent
15c12a81f1
commit
84167650b8
11
.github/workflows/docker-build.yml
vendored
11
.github/workflows/docker-build.yml
vendored
@ -53,6 +53,11 @@ jobs:
|
|||||||
images: |
|
images: |
|
||||||
${{ env.DOCKER_HUB_PREFIX }}/${{ env.DOCKER_IMAGE }}
|
${{ env.DOCKER_HUB_PREFIX }}/${{ env.DOCKER_IMAGE }}
|
||||||
${{ env.GHCR_PREFIX }}/${{ env.DOCKER_IMAGE }}
|
${{ env.GHCR_PREFIX }}/${{ env.DOCKER_IMAGE }}
|
||||||
|
tags: |
|
||||||
|
type=semver,pattern={{version}}
|
||||||
|
type=semver,pattern=latest,enable={{is_tag}}
|
||||||
|
type=raw,value=nightly,enable={{is_default_branch}}
|
||||||
|
type=ref,pattern={{ref_name}},enable={{is_default_branch}}
|
||||||
|
|
||||||
- name: Build and export (multi-arch)
|
- name: Build and export (multi-arch)
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
@ -72,7 +77,7 @@ jobs:
|
|||||||
uses: docker/scout-action@v1
|
uses: docker/scout-action@v1
|
||||||
with:
|
with:
|
||||||
command: cves
|
command: cves
|
||||||
image: ${{ needs.docker_build.outputs.image-tags }}
|
image: ${{ env.GHCR_PREFIX }}/${{ env.DOCKER_IMAGE }}:nightly
|
||||||
only-severities: critical,high
|
only-severities: critical,high
|
||||||
only-fixed: true
|
only-fixed: true
|
||||||
write-comment: true
|
write-comment: true
|
||||||
@ -83,8 +88,8 @@ jobs:
|
|||||||
uses: docker/scout-action@v1
|
uses: docker/scout-action@v1
|
||||||
with:
|
with:
|
||||||
command: compare
|
command: compare
|
||||||
image: ${{ env.DOCKER_HUB_PREFIX }}/${{ env.DOCKER_IMAGE }}:nightly
|
image: ${{ env.GHCR_PREFIX }}/${{ env.DOCKER_IMAGE }}:nightly
|
||||||
to: ${{ env.DOCKER_HUB_PREFIX }}/${{ env.DOCKER_IMAGE }}:latest
|
to: ${{ env.GHCR_PREFIX }}/${{ env.DOCKER_IMAGE }}:latest
|
||||||
only-severities: critical,high
|
only-severities: critical,high
|
||||||
ignore-unchanged: true
|
ignore-unchanged: true
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user