chore: add debug log to entrypoint.sh
All checks were successful
ci/woodpecker/push/release Pipeline was successful

Signed-off-by: Vojtěch Mareš <vojtech@mares.cz>
This commit is contained in:
Vojtěch Mareš 2025-09-08 15:32:51 +02:00
parent 68146ef03c
commit 2d495f7c05
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

View file

@ -5,6 +5,17 @@ if [ -z ${PLUGIN_IMAGES+x} ]; then
exit 1
fi
echo "==== DEBUG ===="
echo "${PLUGIN_IMAGES}"
echo
echo "jq '.'"
echo "${PLUGIN_IMAGES}" | jq '.'
echo
echo "jq '.[]'"
echo "${PLUGIN_IMAGES}" | jq '.[]'
echo
echo "==== DEBUG ===="
echo "${PLUGIN_IMAGES}" | jq --raw-output '.[]' | while read -r image; do
cosign sign --key "${PLUGIN_KEY_PATH:-"./cosign.key"}" "${image}"
done