Skip to content

Commit

Permalink
fix: accept cert without proxy
Browse files Browse the repository at this point in the history
Signed-off-by: Nianyu Shen <[email protected]>
  • Loading branch information
nianyush committed Nov 28, 2024
1 parent d2747d0 commit cda6a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion earthly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ if ! docker run --rm --privileged $ALPINE_IMG sh -c 'echo "Privileged container
echo "Privileged containers are not allowed for the current user."
exit 1
fi
if [ -z "$HTTP_PROXY" ] && [ -z "$HTTPS_PROXY"]; then
if [ -z "$HTTP_PROXY" ] && [ -z "$HTTPS_PROXY" ] && [ -z "$(find certs -type f ! -name '.*' -print -quit)" ]; then
build_without_proxy "$@"
else
build_with_proxy "$@"
Expand Down

0 comments on commit cda6a04

Please sign in to comment.