wip()
continuous-integration/drone/push Build encountered an error Details
continuous-integration/drone/pr Build encountered an error Details

This commit is contained in:
valvin 2022-11-27 17:24:12 +01:00
parent 08ab075a09
commit 2d3b405e4a
1 changed files with 2 additions and 2 deletions

View File

@ -14,6 +14,6 @@ steps:
commands:
- echo "init registry credentials"
- mkdir -p /kaniko/.docker
- |
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
#- |
# echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context ${DRONE_WORKSPACE} --dockerfile ${DRONE_WORKSPACE}/Dockerfile --destination ${CI_REGISTRY_IMAGE}:${IMAGE_TAG}