generated from woodpecker-plugins/.plugin-template
fix: jq raw output (no quotes) when piping output to while loop
Signed-off-by: Vojtěch Mareš <vojtech@mares.cz>
This commit is contained in:
parent
3e3d085465
commit
68146ef03c
1 changed files with 1 additions and 1 deletions
|
|
@ -5,6 +5,6 @@ if [ -z ${PLUGIN_IMAGES+x} ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
echo "${PLUGIN_IMAGES}" | jq '.[]' | while read -r image; do
|
||||
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