diff --git a/.common-ci.yml b/.common-ci.yml index 02b80aaa..adc716ff 100644 --- a/.common-ci.yml +++ b/.common-ci.yml @@ -29,8 +29,8 @@ stages: - lint - helm-lint - scan - - release - sign + - release .pipeline-trigger-rules: rules: diff --git a/.nvidia-ci.yml b/.nvidia-ci.yml index 0a8c7efc..3f0ff716 100644 --- a/.nvidia-ci.yml +++ b/.nvidia-ci.yml @@ -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 @@ -201,9 +208,3 @@ sign:ngc-short-tag: - release:ngc variables: IMAGE_TAG: "${CI_COMMIT_TAG}" - -sign:ngc: - extends: - - .sign:ngc - needs: - - release:ngc