generated from woodpecker-plugins/.plugin-template
chore: add debug log to entrypoint.sh
All checks were successful
ci/woodpecker/push/release Pipeline was successful
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:
parent
68146ef03c
commit
2d495f7c05
1 changed files with 11 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue