Skip to content

Commit

Permalink
Handle vaccine CI trigger id
Browse files Browse the repository at this point in the history
This narrows down the triggered workflow run to the exact one created by
the GitLab CI pipeline.

A number of corner cases were improperly handled, and there was an
opportunity for a secret leak, which led to a full script rewrite.
  • Loading branch information
lloeki committed Feb 18, 2025
1 parent 31c757b commit ced5f08
Show file tree
Hide file tree
Showing 2 changed files with 322 additions and 77 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,4 @@ vaccine:
stage: vaccine
needs: [create-multiarch-lib-injection-image]
script: |
.gitlab/scripts/vaccine.sh lloeki/ssi "${CI_COMMIT_SHA}"
.gitlab/scripts/vaccine.sh lloeki/ssi "${CI_COMMIT_SHA}" "glci:${CI_PIPELINE_ID}"
Loading

0 comments on commit ced5f08

Please sign in to comment.