Skip to content
Snippets Groups Projects
Commit 711f1a8f authored by Jan Hartig's avatar Jan Hartig
Browse files

Update .gitlab-ci.yml file

parent 495ef291
No related branches found
No related tags found
No related merge requests found
build_with_kaniko: build_with_kaniko:
stage: build stage: build
image: image:
name: gcr.io/kaniko-project/executor:v1.9.0-debug name: gcr.io/kaniko-project/executor:debug
entrypoint: [""] entrypoint: [""]
script: script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$(echo -n $CI_REGISTRY_USER:$CI_REGISTRY_PASSWORD | base64 -w 0)\"},\"$HARBOR_REGISTRY\":{\"auth\":\"$(echo -n $HARBOR_REGISTRY_USER:$HARBOR_REGISTRY_PASSWORD | base64 -w 0)\"}}}" > /kaniko/.docker/config.json - echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$(echo -n $CI_REGISTRY_USER:$CI_REGISTRY_PASSWORD | base64 -w 0)\"},\"$HARBOR_REGISTRY\":{\"auth\":\"$(echo -n $HARBOR_REGISTRY_USER:$HARBOR_REGISTRY_PASSWORD | base64 -w 0)\"}}}" > /kaniko/.docker/config.json
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment