Skip to content

Commit

Permalink
style(action): Improve readability of cURL command
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurt-von-Laven committed Oct 27, 2022
1 parent adfbbaf commit 01de630
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@ runs:
return 1
}
install_script_output="$(curl \
install_script_output="$(
curl \
--fail \
--silent \
--show-error \
--location https://get.docker.com/rootless |
sh)"
sh
)"
echo "$install_script_output"
docker context use rootless
if grep --quiet 'systemd not detected, dockerd-rootless.sh needs to be started manually' <<<"$install_script_output"; then
Expand Down

0 comments on commit 01de630

Please sign in to comment.