This commit is contained in:
19
.drone.yml
19
.drone.yml
@@ -10,15 +10,16 @@ steps:
|
|||||||
from_secret: DOCKER_USERNAME
|
from_secret: DOCKER_USERNAME
|
||||||
CICD_TOKEN:
|
CICD_TOKEN:
|
||||||
from_secret: CICD_TOKEN
|
from_secret: CICD_TOKEN
|
||||||
args:
|
command:
|
||||||
- "--dockerfile=Dockerfile"
|
- /kaniko/executor
|
||||||
- "--context=."
|
- --dockerfile=Dockerfile
|
||||||
- "--destination=git.iamninja.ru/iamninja/pomodoro_tg_bot:latest"
|
- --context=.
|
||||||
- "--cache=true"
|
- --destination=git.iamninja.ru/iamninja/pomodoro_tg_bot:latest
|
||||||
- "--cache-repo=git.iamninja.ru/iamninja/pomodoro_tg_bot/cache"
|
- --cache=true
|
||||||
- "--skip-tls-verify"
|
- --cache-repo=git.iamninja.ru/iamninja/pomodoro_tg_bot/cache
|
||||||
- "--username=$(DOCKER_USERNAME)"
|
- --skip-tls-verify
|
||||||
- "--password=$(CICD_TOKEN)"
|
- --username=$(DOCKER_USERNAME)
|
||||||
|
- --password=$(CICD_TOKEN)
|
||||||
|
|
||||||
- name: deploy to server
|
- name: deploy to server
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
|
|||||||
Reference in New Issue
Block a user