From 19a1e016c78e144b9cbbb4455da22c1d4a2cbbf8 Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Arango Gutierrez Date: Wed, 6 Nov 2024 20:37:06 +0100 Subject: [PATCH] Fix GitLab Pipeline sign (#217) Signed-off-by: Carlos Eduardo Arango Gutierrez Signed-off-by: Vishesh Tanksale --- .common-ci.yml | 2 +- .nvidia-ci.yml | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) 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