Drone plugins > Download
download.svg

Download

by drone-plugins


Use the Download plugin to download archives required for your builds, it also integrates a secure way to inject basic authentication credentials and checking by md5 or sha256 checksums.

Example

kind: pipeline
name: default

steps:
- name: download  
  image: plugins/download
  settings:
    source: https://github.com/drone/drone-cli/releases/download/v0.8.5/drone_linux_amd64.tar.gz

Properties

  • source

    stringrequired

    The source URL for the download.

    Default: none

  • destination

    stringoptional

    The destination path for the download.

    Default: none

  • username

    stringoptional

    The username for basic auth.

    Secret recommended

    Default: none

  • password

    stringoptional

    The password for basic auth.

    Secret recommended

    Default: none

  • skip_verify

    booleanoptional

    Skip SSL verification.

    Default: false

  • md5

    stringoptional

    The md5 checksum.

    Default: none

  • sha256

    stringoptional

    The sha256 checksum.

    Default: none