generated from woodpecker-plugins/.plugin-template
feat: add first version of cosign-sign plugin
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
c17786a62b
commit
da0d3229a3
4 changed files with 40 additions and 5 deletions
|
|
@ -1,3 +1,8 @@
|
|||
#! /bin/sh
|
||||
|
||||
echo "Hello from plugin, I think you forgot to write me!"
|
||||
if [ -z ${PLUGIN_IMAGE+x} ]; then
|
||||
echo "ERROR: image setting is required."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cosign sign --key "${PLUGIN_KEY_PATH:-"./cosign.key"}" "${PLUGIN_IMAGE}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue