Browse Source

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
for-closed-social
Antoine GIRARD 6 years ago
committed by Lunny Xiao
parent
commit
a747a5d05f
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      .drone.yml

+ 12
- 0
.drone.yml 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

Loading…
Cancel
Save