2015-10-16 20:09:45 +00:00
|
|
|
build:
|
|
|
|
image: golang:1.5
|
|
|
|
environment:
|
|
|
|
- GO15VENDOREXPERIMENT=1
|
|
|
|
- GOOS=linux
|
|
|
|
- GOARCH=amd64
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
commands:
|
|
|
|
- go get
|
|
|
|
- go build
|
|
|
|
- go test
|
|
|
|
|
|
|
|
publish:
|
|
|
|
docker:
|
|
|
|
username: drone
|
|
|
|
password: $$DOCKER_PASS
|
|
|
|
email: $$DOCKER_EMAIL
|
|
|
|
repo: plugins/drone-s3-sync
|
2015-11-13 23:00:40 +00:00
|
|
|
tag: native
|
2015-10-16 20:09:45 +00:00
|
|
|
when:
|
2015-11-13 23:00:40 +00:00
|
|
|
branch: native
|
2015-10-16 20:09:45 +00:00
|
|
|
|
|
|
|
plugin:
|
|
|
|
name: S3 Sync
|
2015-10-27 21:36:54 +00:00
|
|
|
desc: Syncs a directory with an Amazon S3 Bucket
|
2015-10-16 20:09:45 +00:00
|
|
|
type: publish
|
|
|
|
image: plugins/drone-s3-sync
|
|
|
|
labels:
|
|
|
|
- publish
|
|
|
|
- artifacts
|
|
|
|
- amazon
|
|
|
|
- aws
|
|
|
|
- s3
|