fix docker scout environment

This commit is contained in:
Jean-Christian Denis 2024-12-21 16:51:10 +01:00
parent 5cf9dfe32e
commit fa9fe2c5c1
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951
4 changed files with 10 additions and 5 deletions

View file

@ -63,8 +63,9 @@ jobs:
id: docker-scout
uses: docker/scout-action@v1.16.1
with:
command: quickview,cves,recommendations
command: environment,quickview,cves,recommendations
image: ${{ env.DOCKER_NAMESPACE }}/${{ env.DOTCLEAR_IMAGE }}:${{ github.ref_name }}
environment: stable
write-comment: true
github-token: ${{ secrets.GITHUB_TOKEN }}

View file

@ -148,8 +148,9 @@ jobs:
id: docker-scout
uses: docker/scout-action@v1.16.1
with:
command: quickview,cves,recommendations
command: environment,quickview,cves,recommendations
image: ${{ env.DOCKER_NAMESPACE }}/${{ env.DOTCLEAR_IMAGE }}:${{ needs.check_image.outputs.version }}
environment: stable
write-comment: true
github-token: ${{ secrets.GITHUB_TOKEN }}
@ -157,8 +158,9 @@ jobs:
id: docker-scout
uses: docker/scout-action@v1.16.1
with:
command: quickview,cves,recommendations
command: environment,quickview,cves,recommendations
image: ${{ env.DOCKER_NAMESPACE }}/${{ env.DOTCLEAR_IMAGE }}:latest
environment: latest
write-comment: true
github-token: ${{ secrets.GITHUB_TOKEN }}

View file

@ -96,8 +96,9 @@ jobs:
id: docker-scout
uses: docker/scout-action@v1.16.1
with:
command: quickview,cves,recommendations
command: environment,quickview,cves,recommendations
image: ${{ env.DOCKER_NAMESPACE }}/${{ env.DOTCLEAR_IMAGE }}:${{ env.DOTCLEAR_CANAL }}
environment: testing
write-comment: true
github-token: ${{ secrets.GITHUB_TOKEN }}

View file

@ -63,8 +63,9 @@ jobs:
id: docker-scout
uses: docker/scout-action@v1.16.1
with:
command: quickview,cves,recommendations
command: environment,quickview,cves,recommendations
image: ${{ env.DOCKER_NAMESPACE }}/${{ env.DOTCLEAR_IMAGE }}:dev
environment: unstable
write-comment: true
github-token: ${{ secrets.GITHUB_TOKEN }}