mirror of
https://github.com/thegeeklab/wp-s3-action.git
synced 2024-11-24 14:00:40 +00:00
44 lines
758 B
YAML
44 lines
758 B
YAML
build:
|
|
image: golang:1.5
|
|
environment:
|
|
- CGO_ENABLED=0
|
|
- GO15VENDOREXPERIMENT=1
|
|
commands:
|
|
- make deps
|
|
- make vet
|
|
- make build
|
|
- make test
|
|
|
|
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
|
|
docker:
|
|
username: $$DOCKER_USER
|
|
password: $$DOCKER_PASS
|
|
email: $$DOCKER_EMAIL
|
|
repo: plugins/drone-s3-sync
|
|
tag: develop
|
|
when:
|
|
branch: develop
|
|
|
|
plugin:
|
|
name: S3 Sync
|
|
desc: Sync a directory with an Amazon S3 Bucket
|
|
type: publish
|
|
image: plugins/drone-s3-sync
|
|
labels:
|
|
- publish
|
|
- artifacts
|
|
- amazon
|
|
- aws
|
|
- s3
|