Skip to content
Snippets Groups Projects
Commit e84ddb26 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

Update .gitlab-ci.yml file

parent 11a67962
No related branches found
No related tags found
No related merge requests found
Pipeline #6945 failed
......@@ -48,7 +48,7 @@ build-env-job: # This job runs in the build stage, which runs first.
script:
- mkdir -p /kaniko/.docker;
# - echo -n "{\"auths\":{\"${HARBOR_HOST}\":{\"auth\":\"$(echo -n ${HARBOR_USERNAME}:${HARBOR_PASSWORD} | base64)\"}}}" > /kaniko/.docker/config.json
- echo -n "{\"auths\":{\"${HARBOR_HOST}\":{\"auth\":\"$(echo -n ${HARBOR_USERNAME}:${HARBOR_PASSWORD} | base64)\"}}}" | tee /kaniko/.docker/config.json
- echo -n "{\"auths\":{\"${HARBOR_HOST}\":{\"auth\":\"$(echo -n ${HARBOR_USERNAME}:${HARBOR_PASSWORD} | base64 -w 0)\"}}}" | tee /kaniko/.docker/config.json
- echo "CI_PROJECT_DIR=${CI_PROJECT_DIR}";
# In this task, Kaniko executor is called to build the Image based on the Dockerfile provided with "--dockerfile".
- >-
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment