diff --git a/.drone.yml b/.drone.yml index 5eae48c..7f80d9f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,4 +13,5 @@ steps: image: gcr.io/kaniko-project/executor:v1.7.0-debug commands: - echo "init registry credentials" - - mkdir -p /kanico/.docker \ No newline at end of file + - mkdir -p /kanico/.docker + - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json \ No newline at end of file