Categorygithub.com/drone-plugins/drone-gpgsign
modulepackage
1.1.0
Repository: https://github.com/drone-plugins/drone-gpgsign.git
Documentation: pkg.go.dev

# README

drone-gpgsign

Build Status Join the discussion at https://discourse.drone.io Drone questions at https://stackoverflow.com Go Doc Go Report

Drone plugin to sign artifacts with GnuPG. For the usage information and a listing of the available options please take a look at the docs.

Build

Build the binary with the following commands:

go build

Docker

Build the Docker image with the following commands:

GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -tags netgo -o release/linux/amd64/drone-gpgsign
docker build --rm -t plugins/gpgsign .

Usage

docker run --rm \
  -e PLUGIN_key=$(base64 -i path/to/private.key) \
  -e PLUGIN_PASSPHRASE=p455w0rd \
  -e PLUGIN_FILES=dist/* \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  plugins/gpgsign

# Structs

No description provided by the author
No description provided by the author