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

This commit is contained in:
Kekskurse 2022-01-16 12:01:41 +01:00
parent 9c84c3dff1
commit fc7768ad34
Signed by: kekskurse
GPG key ID: 728ACCB59341E7E4

View file

@ -7,7 +7,7 @@ steps:
- name: build
image: golang
commands:
- go build -o notfall ./
- CGO_ENABLED=0 GOOS=linux go build -o notfall ./
- name: docker
image: plugins/docker
settings:
@ -15,3 +15,15 @@ steps:
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 ~/notfall;sudo docker-compose down
- sudo docker pull kekskurse/notfall
- cd ~/notfallsudo docker-compose up -d