fix apt publishing

This commit is contained in:
finn 2022-02-23 07:16:27 -08:00
parent acc817a043
commit 9a371b8f91

View file

@ -142,9 +142,11 @@ publish deb:
- aptly repo create signald - aptly repo create signald
- aptly mirror create -ignore-signatures backfill-mirror https://updates.signald.org "${DISTRIBUTION}" main - aptly mirror create -ignore-signatures backfill-mirror https://updates.signald.org "${DISTRIBUTION}" main
- aptly mirror update -ignore-signatures backfill-mirror - aptly mirror update -ignore-signatures backfill-mirror
- aptly repo import backfill-mirror signald signald signaldctl - aptly repo import backfill-mirror signald signald 'signaldctl (>= 0.3.0)'
- aptly repo add signald *.deb - aptly repo add signald *.deb
- aptly publish repo -config=.aptly.conf -batch -gpg-key="${SIGNING_KEY}" -distribution="${DISTRIBUTION}" "signald" "s3:updates.signald.org:" - gpg1 --import "${SIGNING_KEY_PATH}"
- gpg1 --list-secret-keys
- aptly publish repo -config=.aptly.conf -batch -gpg-key="${SIGNING_KEY_ID}" -distribution="${DISTRIBUTION}" "signald" "s3:updates.signald.org:"
variables: variables:
DISTRIBUTION: unstable DISTRIBUTION: unstable
rules: rules: