[no-relnote] fix package release scripts

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar 2024-07-09 15:33:41 +02:00
parent b093d6a8b3
commit eda83913a8
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
FROM quay.io/centos/centos:stream8 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 RUN yum install -y createrepo rpm-sign pinentry

View File

@ -45,7 +45,7 @@ if [[ $# -ge 2 ]]; then
fi fi
SHA=$(git rev-parse --short=8 ${REFERENCE}) 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 IMAGE_TAG=${SHA}-packaging
: ${VERSION:="$(get_version_from_image ${IMAGE_NAME}:${IMAGE_TAG} ${SHA})"} : ${VERSION:="$(get_version_from_image ${IMAGE_NAME}:${IMAGE_TAG} ${SHA})"}