Skip to content

Commit 6859da5

Browse files
committed
Login into registry
Signed-off-by: Federico Busetti <[email protected]>
1 parent 4819e39 commit 6859da5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.gitlab_ci/_templates.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ variables:
5252
services:
5353
- docker:$DOCKER_VERSION-dind
5454
script:
55+
- echo $CI_JOB_TOKEN | docker login -u gitlab-ci-token --password-stdin registry.gitlab.com
5556
# Remove the UTC offset, not supported by `date` in docker image (busybox)
5657
- export CLEAN_DATETIME=$(echo "$CI_COMMIT_TIMESTAMP" | sed 's/+00:00//' | sed 's/Z//')
5758
# Transform in unix timestamp

0 commit comments

Comments
 (0)