|
@ -14,6 +14,7 @@ build-container-latest: |
|
|
image: |
|
|
image: |
|
|
name: gcr.io/kaniko-project/executor:debug |
|
|
name: gcr.io/kaniko-project/executor:debug |
|
|
entrypoint: [""] |
|
|
entrypoint: [""] |
|
|
|
|
|
needs: ["build-binary-latest"] |
|
|
script: |
|
|
script: |
|
|
- mkdir -p /kaniko/.docker |
|
|
- mkdir -p /kaniko/.docker |
|
|
- echo "{\"auths\":{\"${CI_REGISTRY}\":{\"auth\":\"$(printf "%s:%s" "${CI_REGISTRY_USER}" "${CI_REGISTRY_PASSWORD}" | base64 | tr -d '\n')\"}}}" > /kaniko/.docker/config.json |
|
|
- echo "{\"auths\":{\"${CI_REGISTRY}\":{\"auth\":\"$(printf "%s:%s" "${CI_REGISTRY_USER}" "${CI_REGISTRY_PASSWORD}" | base64 | tr -d '\n')\"}}}" > /kaniko/.docker/config.json |
|
|