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

Update .gitlab-ci.yml file

parent 1486b271
No related branches found
No related tags found
No related merge requests found
Pipeline #6942 failed
...@@ -47,9 +47,8 @@ build-env-job: # This job runs in the build stage, which runs first. ...@@ -47,9 +47,8 @@ build-env-job: # This job runs in the build stage, which runs first.
# docu: https://docs.gitlab.com/ee/ci/docker/using_kaniko.html, this is basically copy-pasted from there # docu: https://docs.gitlab.com/ee/ci/docker/using_kaniko.html, this is basically copy-pasted from there
script: script:
- mkdir -p /kaniko/.docker; - mkdir -p /kaniko/.docker;
- apt-get install -y hexdump
- 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)\"}}}" > /kaniko/.docker/config.json
- hexdump /kaniko/.docker/config.json - cat /kaniko/.docker/config.json
- echo "CI_PROJECT_DIR=${CI_PROJECT_DIR}"; - 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". # 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