Drone plugins > Google Cloud Storage
Google Cloud Storage
by wyattjoh
The Google Cloud Storage plugin uploads files and build artifacts to your Google Cloud Storage bucket.
Example
kind: pipeline
name: default
steps:
- name: pipeline
image: wyattjoh/drone-gcs
settings:
acl: public
bucket: "my-bucket-name"
source: public/**/*
strip_prefix: public/
target: /target/location
Properties
bucket
stringrequiredbucket name
Secret recommendedDefault: none
acl
stringoptionalaccess to files that are uploaded (private, public)
Default: none
source
stringrequiredsource location of the files, using a glob matching pattern
Default: none
target
stringrequiredtarget location of files in the bucket
Default: none
compress
booleanoptionalgzip files before they are uploaded and add a Content-Encoding gzip
Default: false
strip_prefix
booleanoptionalstrip the prefix from source path
Default: false
exclude
stringoptionalglob exclusion patterns
Default: none