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 @@ -34,7 +34,7 @@ CentOS:
3434 - php-7.0
3535 script :
3636 - cd dockerfiles/ci/centos/7
37- - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_TOKEN" $ CI_REGISTRY
37+ - echo "$CI_REGISTRY_TOKEN" | docker login --password-stdin - u "$CI_REGISTRY_USER" "$ CI_REGISTRY"
3838 - docker buildx bake --no-cache --pull --push $PHP_VERSION
3939
4040Alpine :
@@ -63,7 +63,7 @@ Alpine:
6363 - 7.0-alpine
6464 script :
6565 - cd dockerfiles/ci/alpine_compile_extension
66- - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_TOKEN" $ CI_REGISTRY
66+ - echo "$CI_REGISTRY_TOKEN" | docker login --password-stdin - u "$CI_REGISTRY_USER" "$ CI_REGISTRY"
6767 - docker buildx bake --no-cache --pull --push $PHP_VERSION
6868
6969Bookworm :
@@ -94,7 +94,7 @@ Bookworm:
9494 - php-7.0
9595 script :
9696 - cd dockerfiles/ci/bookworm
97- - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_TOKEN" $ CI_REGISTRY
97+ - echo "$CI_REGISTRY_TOKEN" | docker login --password-stdin - u "$CI_REGISTRY_USER" "$ CI_REGISTRY"
9898 - docker buildx bake --no-cache --pull --push $PHP_VERSION
9999
100100Buster :
@@ -125,5 +125,5 @@ Buster:
125125 - php-7.0
126126 script :
127127 - cd dockerfiles/ci/buster
128- - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_TOKEN" $ CI_REGISTRY
128+ - echo "$CI_REGISTRY_TOKEN" | docker login --password-stdin - u "$CI_REGISTRY_USER" "$ CI_REGISTRY"
129129 - docker buildx bake --no-cache --pull --push $PHP_VERSION
You can’t perform that action at this time.
0 commit comments