0
0
mirror of https://github.com/thegeeklab/wp-s3-action.git synced 2024-11-14 00:00:39 +00:00
wp-s3-action/.drone.yml

44 lines
758 B
YAML
Raw Normal View History

2015-10-16 20:09:45 +00:00
build:
image: golang:1.5
environment:
- CGO_ENABLED=0
2016-02-09 04:25:19 +00:00
- GO15VENDOREXPERIMENT=1
2015-10-16 20:09:45 +00:00
commands:
- make deps
- make vet
- make build
- make test
2015-10-16 20:09:45 +00:00
publish:
coverage:
when:
branch: master
docker:
username: $$DOCKER_USER
password: $$DOCKER_PASS
email: $$DOCKER_EMAIL
repo: plugins/drone-s3-sync
tag: latest
when:
branch: master
2015-10-16 20:09:45 +00:00
docker:
username: $$DOCKER_USER
2015-10-16 20:09:45 +00:00
password: $$DOCKER_PASS
email: $$DOCKER_EMAIL
repo: plugins/drone-s3-sync
tag: develop
2015-10-16 20:09:45 +00:00
when:
branch: develop
2015-10-16 20:09:45 +00:00
plugin:
name: S3 Sync
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