Drone plugins > Backblaze B2
backblaze-b2-logo.svg

Backblaze B2

by techknowlogick


The B2 plugin uploads files and build artifacts to your B2 bucket.

Example

kind: pipeline
name: default

steps:
- name: b2
  image: techknowlogick/drone-b2
  settings:
    bucket: my-bucket-name
    account: a50d28f4dd477bc184fbd10b376de753
    key: bc5785d3ece6a9cdefa42eb99b58986f9095ff1c
    source: public/**/*
    target: /target/location

Properties

  • account

    stringoptional

    backblaze account ID.

    Default: none

  • key

    stringoptional

    backblaze secret key.

    Secret recommended

    Default: none

  • bucket

    stringoptional

    bucket name.

    Default: none

  • source

    stringoptional

    source location of the files, using a glob matching pattern.

    Default: none

  • target

    stringoptional

    target location of files in the bucket.

    Default: none

  • strip_prefix

    booleanoptional

    strip the prefix from source path.

    Default: false

  • exclude

    arrayoptional

    glob exclusion patterns.

    Default: none

  • path_style

    stringoptional

    whether path style URLs should be used (true for minio).

    Default: none