mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-21 15:57:49 +00:00
Merge pull request #592 from elezar/fix-release-scripts
[no-relnote] fix package release scripts
This commit is contained in:
commit
dc1240922a
@ -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
|
||||||
|
@ -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})"}
|
||||||
|
Loading…
Reference in New Issue
Block a user