more verboseness

This commit is contained in:
Emil Lerch 2023-03-27 22:28:45 -07:00
parent 7d901e80ce
commit a75af62f34
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -31,7 +31,7 @@ while IFS= read -r f; do
docker cp "${container}":/home/user/signature "${dest_sig}" docker cp "${container}":/home/user/signature "${dest_sig}"
docker rm "${container}" docker rm "${container}"
if [ -n "${INPUT_PUBLIC_KEY}" ]; then if [ -n "${INPUT_PUBLIC_KEY}" ]; then
echo "Public key specified. Uploading to sigstore public transparency log" echo "Public key specified at ${INPUT_PUBLIC_KEY}. Uploading to sigstore public transparency log"
rekor upload --artifact "$f" --signature "${dest_sig}" --pki-format x509 --public-key "${INPUT_PUBLIC_KEY}" rekor upload --artifact "$f" --signature "${dest_sig}" --pki-format x509 --public-key "${INPUT_PUBLIC_KEY}"
ec=$? ec=$?
if [ $ec -ne 0 ]; then if [ $ec -ne 0 ]; then