integrate docker scout

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

View file

@ -59,6 +59,15 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Docker Scout
id: docker-scout
uses: docker/scout-action@v1.16.1
with:
command: quickview,cves,recommendations
image: ${{ env.DOCKER_NAMESPACE }}/${{ env.DOTCLEAR_IMAGE }}:${{ github.ref_name }}
write-comment: true
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Send Telegram Message Ok
uses: appleboy/telegram-action@master
env:

View file

@ -144,6 +144,24 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Docker Scout
id: docker-scout
uses: docker/scout-action@v1.16.1
with:
command: quickview,cves,recommendations
image: ${{ env.DOCKER_NAMESPACE }}/${{ env.DOTCLEAR_IMAGE }}:${{ needs.check_image.outputs.version }}
write-comment: true
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Docker Scout
id: docker-scout
uses: docker/scout-action@v1.16.1
with:
command: quickview,cves,recommendations
image: ${{ env.DOCKER_NAMESPACE }}/${{ env.DOTCLEAR_IMAGE }}:latest
write-comment: true
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Send Telegram Message Ok
uses: appleboy/telegram-action@master
env:

View file

@ -92,6 +92,15 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Docker Scout
id: docker-scout
uses: docker/scout-action@v1.16.1
with:
command: quickview,cves,recommendations
image: ${{ env.DOCKER_NAMESPACE }}/${{ env.DOTCLEAR_IMAGE }}:${{ env.DOTCLEAR_CANAL }}
write-comment: true
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Send Telegram Message Ok
uses: appleboy/telegram-action@master
env:

View file

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