diff --git a/.drone.yml b/.drone.yml index a2e8d73..2da374a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,5 +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} \ No newline at end of file