diff options
author | Ken Dreyer <kdreyer@ibm.com> | 2024-12-03 18:37:11 +0100 |
---|---|---|
committer | Ken Dreyer <kdreyer@ibm.com> | 2024-12-03 18:38:50 +0100 |
commit | fb4ec711176d5f87c3ab7d02d64d8e16dea58313 (patch) | |
tree | d6f8952c8e90378c5c3a42423a44b040ff96a33d | |
parent | Merge pull request #60918 from gbregman/main (diff) | |
download | ceph-fb4ec711176d5f87c3ab7d02d64d8e16dea58313.tar.xz ceph-fb4ec711176d5f87c3ab7d02d64d8e16dea58313.zip |
container/build.sh: use UTC dates for tags
Do not rely on the builder host's local timezone setting.
Signed-off-by: Ken Dreyer <kdreyer@ibm.com>
-rwxr-xr-x | container/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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} |