Image build date now honours timezone
This commit is contained in:
parent
a0060bd475
commit
50e5c01f57
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
@ -128,7 +128,7 @@ if [ -z "${IMG_NAME}" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
export IMG_DATE=${IMG_DATE:-"$(date -u +%Y-%m-%d)"}
|
||||
export IMG_DATE=${IMG_DATE:-"$(date +%Y-%m-%d)"}
|
||||
|
||||
export BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
export SCRIPT_DIR="${BASE_DIR}/scripts"
|
||||
|
|
Reference in a new issue