Name: drone-gcs
Owner: drone-plugins
Description: Drone plugin for publishing files or artifacts to Google Cloudstorage
Created: 2015-11-17 18:19:59.0
Updated: 2018-05-15 09:59:38.0
Pushed: 2018-04-22 10:14:11.0
Size: 531
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Drone plugin to publish files and artifacts to Google Cloud Storage. For the usage information and a listing of the available options please take a look at the docs.
Build the binary with the following commands:
uild
Build the Docker image with the following commands:
=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -tags netgo -o release/linux/amd64/drone-gcs
er build --rm -t plugins/gcs .
er run --rm \
PLUGIN_SOURCE="dist" \
PLUGIN_TARGET="bucket/dir/" \
PLUGIN_IGNORE="bin/*" \
PLUGIN_ACL="allUsers:READER,user@domain.com:OWNER" \
PLUGIN_GZIP="js,css,html" \
PLUGIN_CACHE_CONTROL="public,max-age=3600" \
PLUGIN_METADATA='{"x-goog-meta-foo":"bar"}' \
$(pwd):$(pwd) \
$(pwd) \
ugins/gcs