Skip to content

Commit fb124d3

Browse files
committed
fix(ci): run attestation and vuln scan concurrently in release workflow
Previously image-vuln-scan blocked attest, adding unnecessary latency to the release pipeline. Both jobs only need build and docker-manifest to complete. Now they run in parallel, and publish waits for both before marking the release as non-draft.
1 parent a40f754 commit fb124d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/on-tag.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ jobs:
259259
attest:
260260
name: Attest Images
261261
runs-on: ubuntu-latest
262-
needs: [build, docker-manifest, image-vuln-scan]
262+
needs: [build, docker-manifest]
263263
if: needs.build.outputs.release_outcome == 'success'
264264
timeout-minutes: 10
265265
permissions:
@@ -305,7 +305,7 @@ jobs:
305305
publish:
306306
name: Publish Release
307307
runs-on: ubuntu-latest
308-
needs: [attest]
308+
needs: [attest, image-vuln-scan]
309309
timeout-minutes: 5
310310
permissions:
311311
contents: write

0 commit comments

Comments
 (0)