Skip to content

Commit fb4ec71

Browse files
committed
container/build.sh: use UTC dates for tags
Do not rely on the builder host's local timezone setting. Signed-off-by: Ken Dreyer <[email protected]>
1 parent fcf5b2f commit fb4ec71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

container/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ eval ${vars}
124124
fromtag=${CEPH_CONTAINER_FROM_IMAGE##*/}
125125
# translate : to -
126126
fromtag=${fromtag/:/-}
127-
builddate=$(date +%Y%m%d)
127+
builddate=$(date -u +%Y%m%d)
128128
local_tag=${fromtag}-${CEPH_CONTAINER_CEPH_REF}-${CEPH_CONTAINER_ARCH}-${builddate}
129129

130130
repopath=${CONTAINER_REPO_HOSTNAME}/${CONTAINER_REPO_ORGANIZATION}

0 commit comments

Comments
 (0)