Skip to content

Commit bafe5af

Browse files
authored
Merge pull request #1230 from JunAr7112/migrate_ngc_changes
Updated .release:staging to stage device-plugin images in nvstaging
2 parents 35ee20e + 099def1 commit bafe5af

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.common-ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,9 @@ scan-ubi9-arm64:
160160
before_script:
161161
- !reference [.regctl-setup, before_script]
162162

163-
# We ensure that the OUT_IMAGE_VERSION is set
163+
# We ensure that the OUT_IMAGE_VERSION and OUT_IMAGE_NAME are set
164164
- 'echo Version: ${OUT_IMAGE_VERSION} ; [[ -n "${OUT_IMAGE_VERSION}" ]] || exit 1'
165+
- 'echo Version: ${OUT_IMAGE_NAME} ; [[ -n "${OUT_IMAGE_NAME}" ]] || exit 1'
165166

166167
# In the case where we are deploying a different version to the CI_COMMIT_SHA, we
167168
# need to tag the image.
@@ -185,10 +186,10 @@ scan-ubi9-arm64:
185186
extends:
186187
- .release
187188
variables:
188-
OUT_REGISTRY_USER: "${CI_REGISTRY_USER}"
189-
OUT_REGISTRY_TOKEN: "${CI_REGISTRY_PASSWORD}"
190-
OUT_REGISTRY: "${CI_REGISTRY}"
191-
OUT_IMAGE_NAME: "${CI_REGISTRY_IMAGE}/staging/k8s-device-plugin"
189+
OUT_REGISTRY_USER: "${NGC_REGISTRY_USER}"
190+
OUT_REGISTRY_TOKEN: "${NGC_REGISTRY_TOKEN}"
191+
OUT_REGISTRY: "${NGC_REGISTRY}"
192+
OUT_IMAGE_NAME: "${NGC_REGISTRY_STAGING_IMAGE_NAME}"
192193

193194
# Define an external release step that pushes an image to an external repository.
194195
# This includes a devlopment image off main.

0 commit comments

Comments
 (0)