0
0
mirror of https://github.com/thegeeklab/wp-docker-buildx.git synced 2024-11-14 09:00:43 +00:00
wp-docker-buildx/.drone.yml

31 lines
513 B
YAML
Raw Normal View History

2015-05-15 00:19:57 +00:00
build:
2015-10-28 01:29:46 +00:00
image: golang:1.5
environment:
- GO15VENDOREXPERIMENT=1
- GOOS=linux
- GOARCH=amd64
- CGO_ENABLED=0
2015-05-15 00:11:26 +00:00
commands:
2015-09-03 05:14:15 +00:00
- go get
2015-05-15 00:11:26 +00:00
- go build
- go test
2015-10-28 01:29:46 +00:00
publish:
docker:
username: drone
password: $$DOCKER_PASS
email: $$DOCKER_EMAIL
repo: plugins/drone-docker
when:
branch: master
2015-05-15 00:11:26 +00:00
plugin:
name: Docker
desc: Build and Publish images to a Docker registry.
type: publish
image: plugins/drone-docker
labels:
- docker
- image
- container