diff --git a/.github/workflows/release_branch.yml b/.github/workflows/release_branch.yml index 41b6db0..815c823 100644 --- a/.github/workflows/release_branch.yml +++ b/.github/workflows/release_branch.yml @@ -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 }} diff --git a/.github/workflows/release_stable.yml b/.github/workflows/release_stable.yml index 5b6382b..1c78b47 100644 --- a/.github/workflows/release_stable.yml +++ b/.github/workflows/release_stable.yml @@ -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 }} diff --git a/.github/workflows/release_testing.yml b/.github/workflows/release_testing.yml index 40bd1ce..4fd8ca8 100644 --- a/.github/workflows/release_testing.yml +++ b/.github/workflows/release_testing.yml @@ -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 }} diff --git a/.github/workflows/release_unstable.yml b/.github/workflows/release_unstable.yml index 43abbea..b75df15 100644 --- a/.github/workflows/release_unstable.yml +++ b/.github/workflows/release_unstable.yml @@ -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 }}