Skip to content

Commit

Permalink
[cherry-pick] ensure tag exists before scanning (#6962)
Browse files Browse the repository at this point in the history
  • Loading branch information
nginx-bot authored Dec 12, 2024
1 parent 025ddd7 commit 78cb741
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/image-promotion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ jobs:
scan-docker-oss:
name: Scan ${{ matrix.image }}-${{ matrix.target }}
runs-on: ubuntu-24.04
needs: [checks]
needs: [checks, tag-candidate]
permissions:
contents: read
id-token: write
Expand Down Expand Up @@ -474,7 +474,7 @@ jobs:
scan-docker-plus:
name: Scan ${{ matrix.image }}-${{ matrix.target }}
runs-on: ubuntu-24.04
needs: [checks]
needs: [checks, tag-candidate]
permissions:
contents: read
id-token: write
Expand Down Expand Up @@ -563,7 +563,7 @@ jobs:
scan-docker-nap:
name: Scan ${{ matrix.image }}-${{ matrix.target }}-${{ matrix.nap_modules }}
runs-on: ubuntu-24.04
needs: [checks]
needs: [checks, tag-candidate]
permissions:
contents: read
id-token: write
Expand Down

0 comments on commit 78cb741

Please sign in to comment.