Skip to content

Commit 6ce3e72

Browse files
authored
ensure tag exists before scanning (#6958)
1 parent 025ddd7 commit 6ce3e72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/image-promotion.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ jobs:
385385
scan-docker-oss:
386386
name: Scan ${{ matrix.image }}-${{ matrix.target }}
387387
runs-on: ubuntu-24.04
388-
needs: [checks]
388+
needs: [checks, tag-candidate]
389389
permissions:
390390
contents: read
391391
id-token: write
@@ -474,7 +474,7 @@ jobs:
474474
scan-docker-plus:
475475
name: Scan ${{ matrix.image }}-${{ matrix.target }}
476476
runs-on: ubuntu-24.04
477-
needs: [checks]
477+
needs: [checks, tag-candidate]
478478
permissions:
479479
contents: read
480480
id-token: write
@@ -563,7 +563,7 @@ jobs:
563563
scan-docker-nap:
564564
name: Scan ${{ matrix.image }}-${{ matrix.target }}-${{ matrix.nap_modules }}
565565
runs-on: ubuntu-24.04
566-
needs: [checks]
566+
needs: [checks, tag-candidate]
567567
permissions:
568568
contents: read
569569
id-token: write

0 commit comments

Comments
 (0)