Fixed GPG key location in drone recipe and install gpg.

master
tastytea 2019-06-20 16:57:25 +02:00
parent aa95914010
commit 7d013ff78f
No known key found for this signature in database
GPG Key ID: CFC39497F1B26E07
1 changed files with 3 additions and 1 deletions

View File

@ -49,7 +49,7 @@ volumes:
path: /var/cache/debian-package-cache
- name: gpg-key
host:
path: /var/autosign_gpg.key
path: /home/tastytea/misc/autosign_gpg.key
trigger:
event:
@ -72,6 +72,8 @@ steps:
commands:
- rm /etc/apt/apt.conf.d/docker-clean
- rm /var/cache/apt/archives/lock
- apt-get update -q
- apt-get install -qy gnupg
- gpg --import /var/autosign_gpg.key
- gpg --verbose --detach-sign *.tar.gz
- gpg --verbose --detach-sign *.zip