Skip to content

Commit ff44a46

Browse files
authored
Merge pull request ceph#60924 from ktdreyer/containerfile-date-utc
container/build.sh: use UTC dates for tags
2 parents d6afce7 + fb4ec71 commit ff44a46

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
@@ -142,7 +142,7 @@ eval ${vars}
142142
fromtag=${CEPH_CONTAINER_FROM_IMAGE##*/}
143143
# translate : to -
144144
fromtag=${fromtag/:/-}
145-
builddate=$(date +%Y%m%d)
145+
builddate=$(date -u +%Y%m%d)
146146
local_tag=${fromtag}-${CEPH_CONTAINER_CEPH_REF}-${CEPH_CONTAINER_ARCH}-${builddate}
147147

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

0 commit comments

Comments
 (0)