drone-webhook/.drone.yml

46 lines
972 B
YAML
Raw Normal View History

2016-05-13 07:00:42 +00:00
workspace:
base: /go
path: src/github.com/drone-plugins/drone-webhook
pipeline:
test:
image: golang:1.9
2016-05-13 07:00:42 +00:00
commands:
- go vet
- go test -cover -coverprofile=coverage.out
2015-11-03 19:31:25 +00:00
build_linux_amd64:
image: golang:1.9
commands:
- sh .drone.sh
publish_linux_amd64:
image: plugins/docker
repo: plugins/webook
tags: [ latest, 1.0.0, 1.0, 1 ]
secrets: [ docker_username, docker_password ]
dockerfile: Dockerfile
2015-11-03 19:31:25 +00:00
when:
branch: master
2016-05-13 07:00:42 +00:00
event: push
2015-11-03 19:31:25 +00:00
publish_linux_arm64:
image: plugins/docker
repo: plugins/webhook
tags: [ linux-arm64 ]
secrets: [ docker_username, docker_password ]
dockerfile: Dockerfile.arm64
when:
branch: master
event: push
publish_linux_arm:
image: plugins/docker
repo: plugins/webhook
tags: [ linux-arm ]
secrets: [ docker_username, docker_password ]
dockerfile: Dockerfile.arm
when:
branch: master
event: push