File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -52,15 +52,15 @@ variables:
52
52
services :
53
53
- docker:24.0.2-dind
54
54
script :
55
- - desired_format="%s"
56
- - export UNIX_TIMESTAMP=$(date -d "$CI_COMMIT_TIMESTAMP" + "$desired_format")
57
- - echo "Unix timestamp - $UNIX_TIMESTAMP"
55
+ # - desired_format="%s"
56
+ # - export UNIX_TIMESTAMP=$(date -d "$CI_COMMIT_TIMESTAMP" + "$desired_format")
57
+ # - echo "Unix timestamp - $UNIX_TIMESTAMP"
58
58
- docker buildx imagetools create \
59
59
--annotation "index:org.opencontainers.image.version=$CI_COMMIT_SHORT_SHA" \
60
60
--annotation "index:org.opencontainers.image.revision=$CI_COMMIT_SHA" \
61
61
--annotation "index:org.opencontainers.image.source=$CI_PROJECT_URL" \
62
62
--annotation "index:org.opencontainers.image.created=$CI_JOB_STARTED_AT" \
63
- --tag $DOCKER_IMAGE_NAME:$PROMOTED_ENVIRONMENT-$UNIX_TIMESTAMP \
63
+ --tag $DOCKER_IMAGE_NAME:$PROMOTED_ENVIRONMENT-$CI_COMMIT_TIMESTAMP \
64
64
- $DOCKER_IMAGE_FULL_TAG
65
65
66
66
.python-typing :
You can’t perform that action at this time.
0 commit comments