add docker scout
This commit is contained in:
parent
f65cf587bd
commit
59a78c4fb0
4 changed files with 52 additions and 2 deletions
10
.github/workflows/release_branch.yml
vendored
10
.github/workflows/release_branch.yml
vendored
|
@ -59,6 +59,16 @@ 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: environment,quickview,cves,recommendations
|
||||
image: ${{ env.DOCKER_NAMESPACE }}/${{ env.DOTCLEAR_IMAGE }}:${{ github.ref_name }}
|
||||
environment: stable
|
||||
write-comment: true
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Send Telegram Message Ok
|
||||
uses: appleboy/telegram-action@master
|
||||
env:
|
||||
|
|
20
.github/workflows/release_stable.yml
vendored
20
.github/workflows/release_stable.yml
vendored
|
@ -144,6 +144,26 @@ 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: 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 }}
|
||||
|
||||
- name: Docker Scout
|
||||
id: docker-scout
|
||||
uses: docker/scout-action@v1.16.1
|
||||
with:
|
||||
command: environment,quickview,cves,recommendations
|
||||
image: ${{ env.DOCKER_NAMESPACE }}/${{ env.DOTCLEAR_IMAGE }}:latest
|
||||
environment: latest
|
||||
write-comment: true
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Send Telegram Message Ok
|
||||
uses: appleboy/telegram-action@master
|
||||
env:
|
||||
|
|
12
.github/workflows/release_testing.yml
vendored
12
.github/workflows/release_testing.yml
vendored
|
@ -2,7 +2,7 @@ name: Build and push testing image
|
|||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 1 * * *'
|
||||
- cron: '15 4 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
|
@ -92,6 +92,16 @@ 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: environment,quickview,cves,recommendations
|
||||
image: ${{ env.DOCKER_NAMESPACE }}/${{ env.DOTCLEAR_IMAGE }}:${{ env.DOTCLEAR_CANAL }}
|
||||
environment: testing
|
||||
write-comment: true
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Send Telegram Message Ok
|
||||
uses: appleboy/telegram-action@master
|
||||
env:
|
||||
|
|
12
.github/workflows/release_unstable.yml
vendored
12
.github/workflows/release_unstable.yml
vendored
|
@ -2,7 +2,7 @@ name: Build and push dev image
|
|||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 1 * * *'
|
||||
- cron: '15 4 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
|
@ -59,6 +59,16 @@ 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: environment,quickview,cves,recommendations
|
||||
image: ${{ env.DOCKER_NAMESPACE }}/${{ env.DOTCLEAR_IMAGE }}:dev
|
||||
environment: unstable
|
||||
write-comment: true
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Send Telegram Message Ok
|
||||
uses: appleboy/telegram-action@master
|
||||
env:
|
||||
|
|
Loading…
Reference in a new issue