Merge pull request #198 from mattolenik/fix-197
Remove use of GNU date extensions when labeling images
This commit is contained in:
commit
0a77c3d81e
2
build.sh
2
build.sh
|
@ -152,7 +152,7 @@ fi
|
||||||
###
|
###
|
||||||
# variables for labelling the docker image
|
# variables for labelling the docker image
|
||||||
###
|
###
|
||||||
BUILD_DATE="$(date --utc --iso-8601=minutes)"
|
BUILD_DATE="$(date -u '+%Y-%m-%dT%H:%M+00:00')"
|
||||||
|
|
||||||
if [ -d ".git" ]; then
|
if [ -d ".git" ]; then
|
||||||
GIT_REF="$(git rev-parse HEAD)"
|
GIT_REF="$(git rev-parse HEAD)"
|
||||||
|
|
Loading…
Reference in New Issue