Skip to content

Commit

Permalink
fix docker scout CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalandy committed Nov 27, 2024
1 parent 189197d commit 7cc08b6
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/ghostv5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,21 @@ jobs:
cp ./test/config.sh official-images/test/config.sh
official-images/test/run.sh ${{ needs.myvars.outputs.TAG_DKR_BRANCH_NAME }}
- name: Checkpoint | image ls
- name: Checkpoint edge | image ls
run: docker image ls

- name: Docker Scout edge
id: docker-scout-edge
uses: docker/scout-action@v1
with:
command: compare
image: node:20.18.1-alpine3.20
to: ${{ needs.myvars.outputs.TAG_DKR_BRANCH_NAME }}
ignore-unchanged: true
only-severities: critical,high,medium,low
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 7cc08b6

Please sign in to comment.