fix
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-03-28 19:18:28 +05:00
parent a8fce6bf63
commit 73846b8fc0

View File

@@ -6,22 +6,16 @@ steps:
- name: build-and-push-kaniko - name: build-and-push-kaniko
image: gcr.io/kaniko-project/executor:latest image: gcr.io/kaniko-project/executor:latest
environment: environment:
DOCKER_USERNAME: DOCKER_CONFIG_JSON:
from_secret: DOCKER_USERNAME from_secret: DOCKER_CONFIG_JSON
CICD_TOKEN:
from_secret: CICD_TOKEN
command: command:
- mkdir -p /kaniko/.docker - --dockerfile=Dockerfile
- | - --context=.
echo "{\"auths\":{\"git.iamninja.ru\":{\"username\":\"$DOCKER_USERNAME\",\"password\":\"$CICD_TOKEN\"}}}" > /kaniko/.docker/config.json - --destination=git.iamninja.ru/iamninja/pomodoro_tg_bot:latest
- >- - --cache=true
/kaniko/executor - --cache-repo=git.iamninja.ru/iamninja/pomodoro_tg_bot/cache
--dockerfile=Dockerfile - --skip-tls-verify
--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
- name: deploy to server - name: deploy to server
image: appleboy/drone-ssh image: appleboy/drone-ssh