karaokards/.drone.yml
Martyn Ranyard 96b4b8f8e3 maybe drone likes this?
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2020-02-13 23:51:38 +01:00

33 lines
588 B
YAML

kind: pipeline
type: docker
name: linux-amd64
platform:
arch: amd64
os: linux
steps:
- name: build
image: golang
commands:
- pwd
- mkdir -p /go/src/git.martyn.berlin/martyn
- ln -s /drone/src /go/src/git.martyn.berlin/martyn/karaokards
- go get
- go build
- name: publish
image: plugins/docker:18
settings:
auto_tag: true
auto_tag_suffix: linux-amd64
dockerfile: Dockerfile
repo: imartyn/karaokardbot
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event:
- push
- tag