ekster/.drone.yml
Peter Stuifzand 1d84cebe2d
All checks were successful
the build was successful
Fix name of repository
2018-07-28 17:56:28 +02:00

23 lines
626 B
YAML

pipeline:
build:
image: golang
commands:
- go get p83.nl/go/ekster/...
- go build p83.nl/go/ekster/cmd/eksterd
publish:
image: plugins/docker
repo: registry.stuifzandapp.com/microsub-server
registry: registry.stuifzandapp.com
secrets: [ docker_username, docker_password ]
deploy:
image: appleboy/drone-ssh
host: microsub.stuifzandapp.com
username: microsub
secrets: ['ssh_key']
script:
- cd /home/microsub/microsub
- docker-compose pull web
- docker-compose up -d