Drone plugins > GPG Sign
gnupg.svg

GPG Sign

by drone-plugins


This plugin can sign your artifacts and build results with [GnuPG](https://www.gnupg.org/).

Example

kind: pipeline
name: default

steps:
- name: sign  
  image: plugins/gpgsign
  settings:
    key: your-base64-encoded-private-key
    passphrase: p455w0rd
    files:
      - dist/*

Properties

  • key

    stringrequired

    Private GnuPG key, optionally base64 encoded.

    Secret recommended

    Default: none

  • passphrase

    stringrequired

    passphrase for the private key.

    Secret recommended

    Default: none

  • files

    arrayrequired

    List of globs to match files.

    Default: none

  • detach_sign

    booleanoptional

    Generate a detach-sign signature.

    Default: false

  • clear_sign

    booleanoptional

    Generate a clear-sign signature.

    Default: false

  • excludes

    arrayoptional

    List of globs to exclude files.

    Default: none