diff --git a/scripts/Dockerfile.sign.rpm b/scripts/Dockerfile.sign.rpm index 93634234..c4cd6e8e 100644 --- a/scripts/Dockerfile.sign.rpm +++ b/scripts/Dockerfile.sign.rpm @@ -1,3 +1,7 @@ FROM quay.io/centos/centos:stream8 +RUN sed -i -e "s|mirrorlist=|#mirrorlist=|g" \ + -e "s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g" \ + /etc/yum.repos.d/CentOS-Stream-* + RUN yum install -y createrepo rpm-sign pinentry diff --git a/scripts/release-packages.sh b/scripts/release-packages.sh index 8c91965a..7b2e72bb 100755 --- a/scripts/release-packages.sh +++ b/scripts/release-packages.sh @@ -45,7 +45,7 @@ if [[ $# -ge 2 ]]; then fi SHA=$(git rev-parse --short=8 ${REFERENCE}) -IMAGE_NAME="registry.gitlab.com/nvidia/container-toolkit/container-toolkit/staging/container-toolkit" +IMAGE_NAME="ghcr.io/nvidia/container-toolkit" IMAGE_TAG=${SHA}-packaging : ${VERSION:="$(get_version_from_image ${IMAGE_NAME}:${IMAGE_TAG} ${SHA})"}