Skip to content

Instantly share code, notes, and snippets.

@x-cray
Created December 9, 2015 11:09
Show Gist options
  • Save x-cray/c73d216da6b17bed8b34 to your computer and use it in GitHub Desktop.
Save x-cray/c73d216da6b17bed8b34 to your computer and use it in GitHub Desktop.
Drone build configuration
build:
image: registry.local/buildimage-nodejs:latest
commands:
- tools/gen-service-defs.sh
publish:
docker:
image: plugins/drone-docker
repo: registry.local/test-server
tag:
- latest
- $$BRANCH
- $$BRANCH-$$COMMIT-$$BUILD_NUMBER
s3:
image: plugins/drone-s3
acl: public-read
region: eu-west-1
bucket: build-artifacts
access_key: $$S3_ACCESS_KEY
secret_key: $$S3_SECRET_KEY
source: service-defs/
target: test-server/
recursive: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment