Skip to content

Commit

Permalink
Init Docker Scout during CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalandy committed Nov 27, 2024
1 parent 53627f0 commit 32e6e9f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ghostv5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,18 @@ jobs:
- name: Checkpoint | image ls
run: docker image ls

- name: Docker Scout Edge
id: docker-scout-edge
uses: docker/scout-action@v1
with:
command: compare
image: ${{ needs.myvars.outputs.TAG_DKR_VERSION_HASH_DATE }}
to: ${{ needs.myvars.outputs.TAG_DKR_VERSION }}
ignore-unchanged: true
only-severities: critical,high
write-comment: true
github-token: ${{ secrets.GITHUB_TOKEN }} # to be able to write the comment

build_stable:
needs: [myvars]
if: github.ref_type == 'tag'
Expand Down Expand Up @@ -302,18 +314,6 @@ jobs:
- name: Checkpoint | image ls
run: docker image ls

- name: Docker Scout
id: docker-scout
uses: docker/scout-action@v1
with:
command: compare
image: ${{ needs.myvars.outputs.TAG_DKR_VERSION_HASH_DATE }}
to: ${{ needs.myvars.outputs.TAG_DKR_VERSION }}
ignore-unchanged: true
only-severities: critical,high
write-comment: true
github-token: ${{ secrets.GITHUB_TOKEN }} # to be able to write the comment

# ----------------------------------------------
# UAT / edge OR stable
# This job is bypassed: weird bug on the uat job. Ci complain about docker login. So the UAT is under the build job.
Expand Down

0 comments on commit 32e6e9f

Please sign in to comment.