Skip to content

Commit

Permalink
Fix GitLab Pipeline sign (#217)
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
  • Loading branch information
ArangoGutierrez committed Nov 6, 2024
1 parent 2ad653e commit de28c1d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 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
14 changes: 7 additions & 7 deletions .nvidia-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,15 @@ 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
stage: sign
needs:
- sign:ngc
rules:
Expand Down Expand Up @@ -201,9 +207,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 de28c1d

Please sign in to comment.