From: Ken Dreyer Date: Tue, 3 Dec 2024 17:37:11 +0000 (-0500) Subject: container/build.sh: use UTC dates for tags X-Git-Tag: v20.0.0~587^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F60924%2Fhead;p=ceph.git container/build.sh: use UTC dates for tags Do not rely on the builder host's local timezone setting. Signed-off-by: Ken Dreyer --- diff --git a/container/build.sh b/container/build.sh index 5edf469d2d2..b883f0f4181 100755 --- a/container/build.sh +++ b/container/build.sh @@ -124,7 +124,7 @@ eval ${vars} fromtag=${CEPH_CONTAINER_FROM_IMAGE##*/} # translate : to - fromtag=${fromtag/:/-} -builddate=$(date +%Y%m%d) +builddate=$(date -u +%Y%m%d) local_tag=${fromtag}-${CEPH_CONTAINER_CEPH_REF}-${CEPH_CONTAINER_ARCH}-${builddate} repopath=${CONTAINER_REPO_HOSTNAME}/${CONTAINER_REPO_ORGANIZATION}