2016-05-13 06:54:07 +00:00
|
|
|
workspace:
|
|
|
|
base: /go
|
|
|
|
|
|
|
|
pipeline:
|
|
|
|
build:
|
|
|
|
image: golang:1.6
|
|
|
|
commands:
|
2016-07-22 00:27:25 +00:00
|
|
|
- CGO_ENABLED=0 go build
|
2015-10-16 20:09:45 +00:00
|
|
|
|
2016-01-18 21:32:57 +00:00
|
|
|
docker:
|
|
|
|
repo: plugins/drone-s3-sync
|
2016-05-13 06:57:09 +00:00
|
|
|
storage_driver: overlay
|
2016-01-18 21:32:57 +00:00
|
|
|
tag: latest
|
|
|
|
when:
|
|
|
|
branch: master
|
2016-05-13 06:54:07 +00:00
|
|
|
event: push
|
2015-10-16 20:09:45 +00:00
|
|
|
|
|
|
|
plugin:
|
|
|
|
name: S3 Sync
|
2016-01-18 21:32:57 +00:00
|
|
|
desc: Sync 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
|