integrate docker scout
This commit is contained in:
parent
ad576b17ec
commit
5cf9dfe32e
4 changed files with 38 additions and 1 deletions
9
.github/workflows/release_branch.yml
vendored
9
.github/workflows/release_branch.yml
vendored
|
@ -59,6 +59,15 @@ jobs:
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
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
|
- name: Send Telegram Message Ok
|
||||||
uses: appleboy/telegram-action@master
|
uses: appleboy/telegram-action@master
|
||||||
env:
|
env:
|
||||||
|
|
18
.github/workflows/release_stable.yml
vendored
18
.github/workflows/release_stable.yml
vendored
|
@ -144,6 +144,24 @@ jobs:
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
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
|
- name: Send Telegram Message Ok
|
||||||
uses: appleboy/telegram-action@master
|
uses: appleboy/telegram-action@master
|
||||||
env:
|
env:
|
||||||
|
|
9
.github/workflows/release_testing.yml
vendored
9
.github/workflows/release_testing.yml
vendored
|
@ -92,6 +92,15 @@ jobs:
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
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
|
- name: Send Telegram Message Ok
|
||||||
uses: appleboy/telegram-action@master
|
uses: appleboy/telegram-action@master
|
||||||
env:
|
env:
|
||||||
|
|
3
.github/workflows/release_unstable.yml
vendored
3
.github/workflows/release_unstable.yml
vendored
|
@ -63,7 +63,8 @@ jobs:
|
||||||
id: docker-scout
|
id: docker-scout
|
||||||
uses: docker/scout-action@v1.16.1
|
uses: docker/scout-action@v1.16.1
|
||||||
with:
|
with:
|
||||||
command: quickview,recommendations
|
command: quickview,cves,recommendations
|
||||||
|
image: ${{ env.DOCKER_NAMESPACE }}/${{ env.DOTCLEAR_IMAGE }}:dev
|
||||||
write-comment: true
|
write-comment: true
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue