Skip to content

Commit

Permalink
Fix GitLab Pipeline sign (#217) (#251)
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
Signed-off-by: Vishesh Tanksale <[email protected]>
Co-authored-by: Carlos Eduardo Arango Gutierrez <[email protected]>
  • Loading branch information
visheshtanksale and ArangoGutierrez authored Dec 2, 2024
1 parent e434ffd commit 2c35934
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .common-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ stages:
- lint
- helm-lint
- scan
- release
- sign
- release

.pipeline-trigger-rules:
rules:
Expand Down
13 changes: 7 additions & 6 deletions .nvidia-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,13 @@ release:ngc:
- 'echo "Signing the image ${IMAGE_NAME}:${IMAGE_TAG}"'
- ngc-cli/ngc registry image publish --source ${IMAGE_NAME}:${IMAGE_TAG} ${IMAGE_NAME}:${IMAGE_TAG} --public --discoverable --allow-guest --sign --org nvidia

sign:ngc:
extends:
- .sign:ngc
needs:
- release:ngc


helm:ngc:
image: ubuntu:latest
stage: release
Expand Down Expand Up @@ -201,9 +208,3 @@ sign:ngc-short-tag:
- release:ngc
variables:
IMAGE_TAG: "${CI_COMMIT_TAG}"

sign:ngc:
extends:
- .sign:ngc
needs:
- release:ngc

0 comments on commit 2c35934

Please sign in to comment.