From 8527c9a8e435811075da41769d6d4677a73ac6ef Mon Sep 17 00:00:00 2001 From: Sergey Bahmatov Date: Fri, 28 Mar 2025 18:56:59 +0500 Subject: [PATCH] fix --- .drone.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 386eef0..4a5b11b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,15 +10,16 @@ steps: from_secret: DOCKER_USERNAME CICD_TOKEN: from_secret: CICD_TOKEN - args: - - "--dockerfile=Dockerfile" - - "--context=." - - "--destination=git.iamninja.ru/iamninja/pomodoro_tg_bot:latest" - - "--cache=true" - - "--cache-repo=git.iamninja.ru/iamninja/pomodoro_tg_bot/cache" - - "--skip-tls-verify" - - "--username=$(DOCKER_USERNAME)" - - "--password=$(CICD_TOKEN)" + command: + - /kaniko/executor + - --dockerfile=Dockerfile + - --context=. + - --destination=git.iamninja.ru/iamninja/pomodoro_tg_bot:latest + - --cache=true + - --cache-repo=git.iamninja.ru/iamninja/pomodoro_tg_bot/cache + - --skip-tls-verify + - --username=$(DOCKER_USERNAME) + - --password=$(CICD_TOKEN) - name: deploy to server image: appleboy/drone-ssh