diff --git a/.nvidia-ci.yml b/.nvidia-ci.yml index cf28f25f..0fae8566 100644 --- a/.nvidia-ci.yml +++ b/.nvidia-ci.yml @@ -32,7 +32,7 @@ variables: RELEASE_DEVEL_BRANCH: "DISABLED" DEVEL_RELEASE_IMAGE_VERSION: "devel" # Define the public staging registry - STAGING_REGISTRY: registry.gitlab.com/nvidia/container-images/driver/staging + STAGING_REGISTRY: ghcr.io/nvidia STAGING_VERSION: "${CI_COMMIT_SHORT_SHA}" .image-pull-rules: diff --git a/scripts/precompiled.sh b/scripts/precompiled.sh index 97b5d878..9e0fecac 100755 --- a/scripts/precompiled.sh +++ b/scripts/precompiled.sh @@ -22,10 +22,10 @@ function sourceVersions(){ fi if command -v regctl; then - 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 + regctl image get-file ghcr.io/nvidia/driver:base-${BASE_TARGET}-${KERNEL_FLAVOR}-${DRIVER_BRANCH} /var/kernel_version.txt kernel_version.txt else trap "docker rm -f base-${BASE_TARGET}" EXIT - 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} + docker run --pull=always -d --name base-${BASE_TARGET}-${KERNEL_FLAVOR} ghcr.io/nvidia/driver:base-${BASE_TARGET}-${KERNEL_FLAVOR}-${DRIVER_BRANCH} # try 3 times every 3 seconds to get the file, if success exit the loop for i in {1..3}; do docker cp base-${BASE_TARGET}-${KERNEL_FLAVOR}:/var/kernel_version.txt kernel_version.txt && break