Add gpg-sign step to drone (#4188)

* Add gpg-sign step to drone

* add compressed releases to gpg-sign targets

* Use exclude to simplify file list

drone-plugins/drone-gpgsign#2
This commit is contained in:
Antoine GIRARD 2018-06-24 08:40:30 +02:00 committed by Lunny Xiao
parent 212fef0866
commit a747a5d05f
1 changed files with 12 additions and 0 deletions

View File

@ -255,6 +255,18 @@ pipeline:
when: when:
event: [ push, tag ] event: [ push, tag ]
gpg-sign:
image: plugins/gpgsign:1
pull: true
secrets: [ gpgsign_key, gpgsign_passphrase ]
detach_sign: true
files:
- dist/release/*
excludes:
- dist/release/*.sha265
when:
event: [ push, tag ]
release: release:
image: plugins/s3:1 image: plugins/s3:1
pull: true pull: true