You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

mygithub.libinneed.workers.dev/stackitcloud/stackit-cli

Package Overview
Dependencies
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mygithub.libinneed.workers.dev/stackitcloud/stackit-cli - go Package Compare versions

Comparing version
v0.1.0-test-skip-publish.14
to
v0.1.0-test-skip-publish.15
+4
-3
scripts/publish-apt-packages.sh

@@ -13,2 +13,3 @@ #!/bin/bash

PUBLIC_KEY_FILE="key.gpg"
CUSTIM_KEYRING_PIPELINE_FOLDER="/Users/runner/.gnupg/"
CUSTOM_KEYRING_FILE="custom-keyring.gpg"

@@ -22,8 +23,8 @@ DISTRIBUTION="stackit"

curl ${OBJECT_STORAGE_ENDPOINT}/${PUBLIC_KEY_BUCKET_NAME}/${PUBLIC_KEY_FILE} >public.asc
gpg --no-default-keyring --keyring ${CUSTOM_KEYRING_FILE} --import public.asc
aptly mirror create -keyring="${CUSTOM_KEYRING_FILE}" current "${OBJECT_STORAGE_ENDPOINT}/${APT_BUCKET_NAME}" ${DISTRIBUTION}
gpg --no-default-keyring --keyring ${CUSTIM_KEYRING_PIPELINE_FOLDER}/${CUSTOM_KEYRING_FILE} --import public.asc
aptly mirror create -keyring="${CUSTOM_KEYRING_FILE}" current "${OBJECT_STORAGE_ENDPOINT}/${APT_BUCKET_NAME}" ${DISTRIBUTION} # Folder (CUSTIM_KEYRING_PIPELINE_FOLDER) is appended automatic in the aptly command
# Update the mirror to the latest state
printf "\n>>> Updating mirror \n"
aptly mirror update current
aptly mirror update -keyring="${CUSTOM_KEYRING_FILE}" current

@@ -30,0 +31,0 @@ # Create a snapshot of the mirror