diff --git a/action.yaml b/action.yaml index 6882aab..c9a3f87 100644 --- a/action.yaml +++ b/action.yaml @@ -30,7 +30,7 @@ inputs: max_retries: description: "Max retries on timeout error" required: false - default: 3 + default: 0 outputs: patched-image: description: 'Image reference of patched image' diff --git a/entrypoint.sh b/entrypoint.sh index 0d93801..5c71394 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -9,7 +9,7 @@ timeout=$4 connection_format=$5 format=$6 output_file=$7 -max_retries=$8 +max_retries=${8:-0} # parse image into image name image_no_tag=$(echo "$image" | cut -d':' -f1)