Skip to content
Snippets Groups Projects
Commit f65369d1 authored by Patrick MADELA's avatar Patrick MADELA
Browse files

Try to replace CI_REGISTRY_PASSWORD by CI_JOB_TOKEN to fix login to docker registry

parent cbc9cd20
No related branches found
No related tags found
No related merge requests found
Pipeline #6304 failed
Pipeline: conan-docker-tools

#6313

    Pipeline: conan-docker-tools

    #6312

      Pipeline: conan-docker-tools

      #6311

        +6
        ...@@ -14,7 +14,8 @@ stages: ...@@ -14,7 +14,8 @@ stages:
        - triggers - triggers
        before_script: before_script:
        - echo "${CI_REGISTRY_PASSWORD}" | docker login -u ${CI_REGISTRY_USER} --password-stdin ${CI_REGISTRY} - echo "${CI_JOB_TOKEN}" | docker login ${CI_REGISTRY} -u ${CI_REGISTRY_USER} --password-stdin
        build: build:
        stage: build stage: build
        ......
        ...@@ -14,7 +14,8 @@ stages: ...@@ -14,7 +14,8 @@ stages:
        - triggers - triggers
        before_script: before_script:
        - echo "${CI_REGISTRY_PASSWORD}" | docker login -u ${CI_REGISTRY_USER} --password-stdin ${CI_REGISTRY} - echo "${CI_JOB_TOKEN}" | docker login ${CI_REGISTRY} -u ${CI_REGISTRY_USER} --password-stdin
        build: build:
        stage: build stage: build
        ......
        ...@@ -13,7 +13,8 @@ stages: ...@@ -13,7 +13,8 @@ stages:
        - release - release
        before_script: before_script:
        - echo "${CI_REGISTRY_PASSWORD}" | docker login -u ${CI_REGISTRY_USER} --password-stdin ${CI_REGISTRY} - echo "${CI_JOB_TOKEN}" | docker login ${CI_REGISTRY} -u ${CI_REGISTRY_USER} --password-stdin
        build: build:
        stage: build stage: build
        ......
        ...@@ -13,7 +13,8 @@ stages: ...@@ -13,7 +13,8 @@ stages:
        - release - release
        before_script: before_script:
        - echo "${CI_REGISTRY_PASSWORD}" | docker login -u ${CI_REGISTRY_USER} --password-stdin ${CI_REGISTRY} - echo "${CI_JOB_TOKEN}" | docker login ${CI_REGISTRY} -u ${CI_REGISTRY_USER} --password-stdin
        build: build:
        stage: build stage: build
        ......
        ...@@ -14,7 +14,8 @@ stages: ...@@ -14,7 +14,8 @@ stages:
        - triggers - triggers
        before_script: before_script:
        - echo "${CI_REGISTRY_PASSWORD}" | docker login -u ${CI_REGISTRY_USER} --password-stdin ${CI_REGISTRY} - echo "${CI_JOB_TOKEN}" | docker login ${CI_REGISTRY} -u ${CI_REGISTRY_USER} --password-stdin
        build: build:
        stage: build stage: build
        ......
        ...@@ -14,7 +14,8 @@ stages: ...@@ -14,7 +14,8 @@ stages:
        - triggers - triggers
        before_script: before_script:
        - echo "${CI_REGISTRY_PASSWORD}" | docker login -u ${CI_REGISTRY_USER} --password-stdin ${CI_REGISTRY} - echo "${CI_JOB_TOKEN}" | docker login ${CI_REGISTRY} -u ${CI_REGISTRY_USER} --password-stdin
        build: build:
        stage: build stage: build
        ......
        ...@@ -13,7 +13,8 @@ stages: ...@@ -13,7 +13,8 @@ stages:
        - release - release
        before_script: before_script:
        - echo "${CI_REGISTRY_PASSWORD}" | docker login -u ${CI_REGISTRY_USER} --password-stdin ${CI_REGISTRY} - echo "${CI_JOB_TOKEN}" | docker login ${CI_REGISTRY} -u ${CI_REGISTRY_USER} --password-stdin
        build: build:
        stage: build stage: build
        ......
        ...@@ -13,7 +13,8 @@ stages: ...@@ -13,7 +13,8 @@ stages:
        - release - release
        before_script: before_script:
        - echo "${CI_REGISTRY_PASSWORD}" | docker login -u ${CI_REGISTRY_USER} --password-stdin ${CI_REGISTRY} - echo "${CI_JOB_TOKEN}" | docker login ${CI_REGISTRY} -u ${CI_REGISTRY_USER} --password-stdin
        build: build:
        stage: build stage: build
        ......
        ...@@ -13,7 +13,8 @@ stages: ...@@ -13,7 +13,8 @@ stages:
        - release - release
        before_script: before_script:
        - echo "${CI_REGISTRY_PASSWORD}" | docker login -u ${CI_REGISTRY_USER} --password-stdin ${CI_REGISTRY} - echo "${CI_JOB_TOKEN}" | docker login ${CI_REGISTRY} -u ${CI_REGISTRY_USER} --password-stdin
        build: build:
        stage: build stage: build
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Please register or to comment