mirror of
https://github.com/ceph/ceph
synced 2024-12-18 01:16:55 +00:00
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>
This commit is contained in:
parent
fcf5b2fff2
commit
fb4ec71117
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user