kuvia2/.drone.yml
kekskurse 3f45852586
All checks were successful
continuous-integration/drone/push Build is passing
CICD
2022-01-15 01:52:34 +01:00

29 lines
No EOL
630 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: build
image: golang
commands:
- make build
- name: docker
image: plugins/docker
settings:
repo: kekskurse/kuvia
username: kekskurse
password:
from_secret: docker_password
- name: ssh commands
image: appleboy/drone-ssh
settings:
host: green.keks.cloud
username: kekskurse
port: 65223
key:
from_secret: ssh_key
script:
- cd ~/kuvia-beta;sudo docker-compose down kuvia
- sudo docker pull kekskurse/kuvia
- cd ~/kuvia-beta;sudo docker-compose up -d kuvia