Skip to content
Snippets Groups Projects
Commit f2340583 authored by Jens Steidl's avatar Jens Steidl :baby_chick:
Browse files

- fix echo newline

parent 81d3796c
No related branches found
No related tags found
No related merge requests found
Pipeline #6093 failed
......@@ -35,7 +35,7 @@ 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
script:
- mkdir -p /kaniko/.docker
- echo "{\"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
# In this task, Kaniko executor is called to build the Image based on the Dockerfile provided with "--dockerfile".
- echo "CI_PROJECT_DIR=${CI_PROJECT_DIR}"
- >-
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment