This commit is contained in:
19
.drone.yml
19
.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
|
||||
|
||||
Reference in New Issue
Block a user