From eda83913a8e534cc27e2601fa51df856e3a2a825 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Tue, 9 Jul 2024 15:33:41 +0200 Subject: [PATCH] [no-relnote] fix package release scripts Signed-off-by: Evan Lezar --- scripts/Dockerfile.sign.rpm | 4 ++++ scripts/release-packages.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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})"}