kuvia2/.drone.yml

28 lines
510 B
YAML
Raw Normal View History

2022-01-14 23:15:05 +00:00
---
kind: pipeline
type: docker
name: default
steps:
- name: build
image: golang
commands:
- make build
- name: docker
image: plugins/docker
settings:
2022-01-14 23:15:50 +00:00
repo: kekskurse/kuvia
2022-01-14 23:15:05 +00:00
username: kekskurse
password:
2022-01-14 23:21:02 +00:00
from_secret: docker_password
- name: ssh commands
2022-01-14 23:23:11 +00:00
image: appleboy/drone-ssh
settings:
host: green.keks.cloud
username: kekskurse
port: 65223
key:
from_secret: ssh_key
2022-01-14 23:21:02 +00:00
script:
2022-01-14 23:23:11 +00:00
- echo hello
- echo world