Merge pull request #591 from elezar/fix-release-scripts

[no-relnote] fix package release scripts
This commit is contained in:
Evan Lezar 2024-07-09 15:34:13 +02:00 committed by GitHub
commit e4cdc48854
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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})"}