mlp-server-tools/.drone.yml
Hamcha d5a7a61cce
Some checks failed
continuous-integration/drone/push Build is failing
Don't use FQDN
2019-06-27 14:15:57 +02:00

29 lines
No EOL
639 B
YAML

kind: pipeline
name: default
steps:
- name: build_draftbot
image: golang
commands:
- CGO_ENABLED=0 GOPROXY=https://modules.fromouter.space go build -o release/draftbot ./draftbot
volumes:
- name: gopath
path: /go
- name: publish_draftbot
image: plugins/docker
settings:
auto_tag: true
dockerfile: Dockerfile.publish
build_args: MODULE_PATH=draftbot
repo: hamcha/draftbot
target: final
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event:
- push
- tag
branch: master