Merge pull request #198 from mattolenik/fix-197

Remove use of GNU date extensions when labeling images
This commit is contained in:
Christian Mäder 2019-12-14 17:20:36 +01:00 committed by GitHub
commit 0a77c3d81e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)"