Skip to content

Commit 8cf46bd

Browse files
committed
Fix indentation
Signed-off-by: Federico Busetti <[email protected]>
1 parent 52dfa55 commit 8cf46bd

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.gitlab_ci/_templates.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,16 @@ variables:
5252
services:
5353
- docker:24.0.2-dind
5454
script:
55-
- desired_format="%s" # This format will output the Unix timestamp
56-
- export UNIX_TIMESTAMP=$(date -d "$CI_COMMIT_TIMESTAMP" +"$desired_format")
57-
- echo "Unix timestamp: $UNIX_TIMESTAMP"
58-
- docker buildx imagetools create \
59-
--annotation "index:org.opencontainers.image.version=$CI_COMMIT_SHORT_SHA" \
60-
--annotation "index:org.opencontainers.image.revision=$CI_COMMIT_SHA" \
61-
--annotation "index:org.opencontainers.image.source=$CI_PROJECT_URL" \
62-
--annotation "index:org.opencontainers.image.created=$CI_JOB_STARTED_AT" \
63-
--tag $DOCKER_IMAGE_NAME:$PROMOTED_ENVIRONMENT-$UNIX_TIMESTAMP \
64-
- $DOCKER_IMAGE_FULL_TAG
55+
- desired_format="%s" # This format will output the Unix timestamp
56+
- export UNIX_TIMESTAMP=$(date -d "$CI_COMMIT_TIMESTAMP" +"$desired_format")
57+
- echo "Unix timestamp: $UNIX_TIMESTAMP"
58+
- docker buildx imagetools create \
59+
--annotation "index:org.opencontainers.image.version=$CI_COMMIT_SHORT_SHA" \
60+
--annotation "index:org.opencontainers.image.revision=$CI_COMMIT_SHA" \
61+
--annotation "index:org.opencontainers.image.source=$CI_PROJECT_URL" \
62+
--annotation "index:org.opencontainers.image.created=$CI_JOB_STARTED_AT" \
63+
--tag $DOCKER_IMAGE_NAME:$PROMOTED_ENVIRONMENT-$UNIX_TIMESTAMP \
64+
- $DOCKER_IMAGE_FULL_TAG
6565

6666
.python-typing:
6767
image: $DOCKER_IMAGE_FULL_TAG

0 commit comments

Comments
 (0)