Commit 235fda8a authored by Alexx Perloff's avatar Alexx Perloff
Browse files

Try a new DockerHub URL

parent 1a61e86b
Pipeline #1549467 passed with stage
in 65 minutes and 13 seconds
......@@ -25,8 +25,6 @@ before_script:
# See https://docs.gitlab.com/ee/ci/variables/predefined_variables.html#variables-reference for available variables
- echo ${CI_PROJECT_DIR}/${CONTEXT_DIR}/
- ls -alh ${CI_PROJECT_DIR}/${CONTEXT_DIR}/
- echo "Test logging into the registry"
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- echo "Logging into the registry ${CI_REGISTRY}"
- echo "{\"auths\":{\"${CI_REGISTRY}\":{\"username\":\"${CI_REGISTRY_USER}\",\"password\":\"${CI_REGISTRY_PASSWORD}\"}}}" > /kaniko/.docker/config.json
- echo "Building standalone image ${CI_REGISTRY_IMAGE}/${IMAGE_NAME}:${CMSSW_VERSION}-${DATE}-${CI_COMMIT_SHORT_SHA} with ${CMSSW_VERSION} and ${SCRAM_ARCH}" on ${DATE}
......
......@@ -11,7 +11,7 @@ build_TreeMaker_cmssw_standalone_CMSSW_10_2_21_dockerhub:
CMSSW_VERSION: CMSSW_10_2_21
SCRAM_ARCH: slc7_amd64_gcc700
BASE_IMAGE: clelange/cc7-cms:latest
CI_REGISTRY: docker.io
CI_REGISTRY: https://index.docker.io/v1/
CI_REGISTRY_USER: ${DOCKER_USERNAME}
CI_REGISTRY_PASSWORD: ${DOCKER_PASSWORD}
CI_REGISTRY_IMAGE: index.docker.io/${REPO_NAME}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment