mygithub.libinneed.workers.dev/stackitcloud/stackit-cli
Advanced tools
@@ -13,3 +13,3 @@ #!/bin/bash | ||
| PUBLIC_KEY_FILE="key.gpg" | ||
| CUSTOM_KEYRING="custom-keyring" | ||
| CUSTOM_KEYRING_FILE="custom-keyring.gpg" | ||
| DISTRIBUTION="stackit" | ||
@@ -22,4 +22,4 @@ APTLY_CONFIG_FILE_PATH="./.aptly.conf" | ||
| curl ${OBJECT_STORAGE_ENDPOINT}/${PUBLIC_KEY_BUCKET_NAME}/${PUBLIC_KEY_FILE} >public.asc | ||
| gpg --no-default-keyring --keyring ./${CUSTOM_KEYRING}.gpg --import public.asc | ||
| aptly mirror create -keyring="${CUSTOM_KEYRING}.gpg" current "${OBJECT_STORAGE_ENDPOINT}/${APT_BUCKET_NAME}" ${DISTRIBUTION} | ||
| gpg --no-default-keyring --keyring ./${CUSTOM_KEYRING} --import public.asc | ||
| aptly mirror create -keyring="./${CUSTOM_KEYRING}" current "${OBJECT_STORAGE_ENDPOINT}/${APT_BUCKET_NAME}" ${DISTRIBUTION} | ||
@@ -26,0 +26,0 @@ # Update the mirror to the latest state |