Skip to content

Commit

Permalink
fix(action): Print get.docker.com error messages
Browse files Browse the repository at this point in the history
Replace --fail with --fail-with-body in cURL invocation that downloads
the rootless Docker install script. This causes cURL to display any
error message it may receive from the server, which is often helpful
context to have when debugging.
  • Loading branch information
Kurt-von-Laven committed Oct 27, 2022
1 parent 01de630 commit 4ec6d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ runs:
install_script_output="$(
curl \
--fail \
--fail-with-body \
--silent \
--show-error \
--location https://get.docker.com/rootless |
Expand Down

0 comments on commit 4ec6d1b

Please sign in to comment.