From 942a0c2c329b5c92e41de3239215efd69fe8c7c3 Mon Sep 17 00:00:00 2001 From: valvin Date: Sun, 27 Nov 2022 17:30:54 +0100 Subject: [PATCH] wip1 --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 7f80d9f..0cd4f80 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,4 +14,5 @@ steps: commands: - echo "init registry credentials" - 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 + - 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