diff --git a/Dockerfile b/Dockerfile index 58d2cad..a8a0452 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/pyupio/safety:3.0.0-615ef36 +FROM ghcr.io/pyupio/safety:3.2.2-032e3b6 COPY entrypoint.sh /app/entrypoint.sh RUN chmod +x /app/entrypoint.sh diff --git a/entrypoint.sh b/entrypoint.sh index f46ec74..7f60fc8 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -80,8 +80,8 @@ output="${output//$'\n'/'%0A'}" # Replace newline characters with %0A output="${output//$'\r'/'%0D'}" # Replace carriage return characters with %0D # Output the exit code and CLI output for GitHub Actions to consume -echo "{exit-code}={$exit_code}" >> $GITHUB_OUTPUT -echo "{cli-output}={$output}" >> $GITHUB_OUTPUT +echo "exit-code=$exit_code" >> $GITHUB_OUTPUT +echo "cli-output=$output" >> $GITHUB_OUTPUT # Exit with the same code as the Safety CLI command exit $exit_code \ No newline at end of file diff --git a/multi-ecosystem/entrypoint.sh b/multi-ecosystem/entrypoint.sh index f46ec74..7f60fc8 100644 --- a/multi-ecosystem/entrypoint.sh +++ b/multi-ecosystem/entrypoint.sh @@ -80,8 +80,8 @@ output="${output//$'\n'/'%0A'}" # Replace newline characters with %0A output="${output//$'\r'/'%0D'}" # Replace carriage return characters with %0D # Output the exit code and CLI output for GitHub Actions to consume -echo "{exit-code}={$exit_code}" >> $GITHUB_OUTPUT -echo "{cli-output}={$output}" >> $GITHUB_OUTPUT +echo "exit-code=$exit_code" >> $GITHUB_OUTPUT +echo "cli-output=$output" >> $GITHUB_OUTPUT # Exit with the same code as the Safety CLI command exit $exit_code \ No newline at end of file