Skip to content

Commit 1a99eda

Browse files
committed
change gitlab path to ghcr.io image path
Signed-off-by: shiva kumar <[email protected]>
1 parent 35fa0d8 commit 1a99eda

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.nvidia-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ variables:
3232
RELEASE_DEVEL_BRANCH: "DISABLED"
3333
DEVEL_RELEASE_IMAGE_VERSION: "devel"
3434
# Define the public staging registry
35-
STAGING_REGISTRY: registry.gitlab.com/nvidia/container-images/driver/staging
35+
STAGING_REGISTRY: ghcr.io/nvidia
3636
STAGING_VERSION: "${CI_COMMIT_SHORT_SHA}"
3737

3838
.image-pull-rules:

scripts/precompiled.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ function sourceVersions(){
2222
fi
2323

2424
if command -v regctl; then
25-
regctl image get-file registry.gitlab.com/nvidia/container-images/driver/staging/driver:base-${BASE_TARGET}-${KERNEL_FLAVOR}-${DRIVER_BRANCH} /var/kernel_version.txt kernel_version.txt
25+
regctl image get-file ghcr.io/nvidia/driver:base-${BASE_TARGET}-${KERNEL_FLAVOR}-${DRIVER_BRANCH} /var/kernel_version.txt kernel_version.txt
2626
else
2727
trap "docker rm -f base-${BASE_TARGET}" EXIT
28-
docker run --pull=always -d --name base-${BASE_TARGET}-${KERNEL_FLAVOR} registry.gitlab.com/nvidia/container-images/driver/staging/driver:base-${BASE_TARGET}-${KERNEL_FLAVOR}-${DRIVER_BRANCH}
28+
docker run --pull=always -d --name base-${BASE_TARGET}-${KERNEL_FLAVOR} ghcr.io/nvidia/driver:base-${BASE_TARGET}-${KERNEL_FLAVOR}-${DRIVER_BRANCH}
2929
# try 3 times every 3 seconds to get the file, if success exit the loop
3030
for i in {1..3}; do
3131
docker cp base-${BASE_TARGET}-${KERNEL_FLAVOR}:/var/kernel_version.txt kernel_version.txt && break

0 commit comments

Comments
 (0)