We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9480e4 commit 8890f26Copy full SHA for 8890f26
.gitlab_ci/_templates.yml
@@ -56,7 +56,7 @@ variables:
56
# Remove the UTC offset, not supported by `date` in docker image (busybox)
57
- export CLEAN_DATETIME=$(echo "$CI_COMMIT_TIMESTAMP" | sed 's/+00:00//' | sed 's/Z//')
58
# Transform in unix timestamp
59
- - export UNIX_TIMESTAMP=$(date -d "$CLEAN_DATETIME" -D "%Y-%m-%dT%H:%M:%S"+%s)
+ - export UNIX_TIMESTAMP=$(date -d "$CLEAN_DATETIME" -D "%Y-%m-%dT%H:%M:%S" +%s)
60
- echo "Unix timestamp - $UNIX_TIMESTAMP"
61
- echo "Tagging $DOCKER_IMAGE_NAME:$PROMOTED_ENVIRONMENT-$UNIX_TIMESTAMP from $DOCKER_IMAGE_FULL_TAG"
62
- docker buildx imagetools create
0 commit comments