add GPG signing please
Some checks failed
continuous-integration/drone Build is failing

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2022-10-20 23:39:54 +02:00
parent 0cb94207d1
commit d9e64a6950
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
3 changed files with 12 additions and 0 deletions

View file

@ -12,6 +12,7 @@ steps:
- wget http://ftp.us.debian.org/debian/pool/main/r/reprepro/reprepro_5.4.1-1_amd64.deb && dpkg -i ./reprepro_5.4.1-1_amd64.deb
- rm ./reprepro_5.4.1-1_amd64.deb
- bash ./import-gpg.sh
- bash ./prepare-pages.sh
- git clone -b pages https://git.froth.zone/packages/awl pkg
@ -24,6 +25,8 @@ steps:
- mv pkg/apt /pkg/apt
environment:
TAG: ${TAG}
SIGNING_KEY:
from_secret: SIGNING_KEY
volumes:
- name: pkg
path: /pkg

View file

@ -1,4 +1,6 @@
Codename: awl
Components: main
Architectures: i386 amd64 armhf arm64 source
SignWith: F8191A8C48DFEE8B
Limit: 0

7
import-gpg.sh Normal file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -e
[ -z "$SIGNING_KEY" ] && echo "no key" && exit 1
echo -n "$SIGNING_KEY" | gpg --import