File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ variables:
20
20
script :
21
21
- docker buildx create --use
22
22
- docker buildx inspect --bootstrap
23
- - echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_PASSWORD --password-stdin $CI_REGISTRY
23
+ - echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
24
24
- echo "Building $DOCKER_IMAGE_FULL_TAG - Cache from $DOCKER_IMAGE_NAME:cache"
25
25
# remove \ from platform to
26
26
- export SUFFIX=$(echo $DOCKER_PLATFORM | sed 's/\///')
@@ -39,6 +39,7 @@ variables:
39
39
services :
40
40
- docker:$DOCKER_VERSION-dind
41
41
script :
42
+ - echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
42
43
- docker manifest create $DOCKER_IMAGE_FULL_TAG \
43
44
--amend $DOCKER_IMAGE_FULL_TAG-linuxamd64 \
44
45
--amend $DOCKER_IMAGE_FULL_TAG-linuxarm64
@@ -52,7 +53,7 @@ variables:
52
53
services :
53
54
- docker:$DOCKER_VERSION-dind
54
55
script :
55
- - echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_PASSWORD --password-stdin $CI_REGISTRY
56
+ - echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
56
57
# Remove the UTC offset, not supported by `date` in docker image (busybox)
57
58
- export CLEAN_DATETIME=$(echo "$CI_COMMIT_TIMESTAMP" | sed 's/+00:00//' | sed 's/Z//')
58
59
# Transform in unix timestamp
You can’t perform that action at this time.
0 commit comments