Skip to content
Snippets Groups Projects
Commit 69ac89d0 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Remove colon and timezone from timestamp

parent 49968acc
No related branches found
No related tags found
1 merge request!24Change build date to iso8601 format
Pipeline #8745 failed with stages
in 1 minute and 6 seconds
......@@ -31,7 +31,7 @@ prep-deploy:
environment:
name: $TARGET_ENV
script:
- export BUILD_DATE=$(TZ=America/Chicago date --iso-8601=seconds)
- export BUILD_DATE=$(TZ=America/Chicago date +%Y-%m-%dT%H%M%S)
- |
if [ "$TARGET_ENV" = "dev" ]; then
TF_VAR_data_volume="xdmod-dev-volume-$BUILD_DATE"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment