1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-04-07 06:50:09 +02:00

Fix docker/go.sh for Go versions without patch number

This commit is contained in:
DarthSim 2022-04-14 22:51:38 +06:00
parent e1a69c5d95
commit 9a70bbe4e4

View File

@ -33,7 +33,7 @@ if [[ $BUILDPLATFORM != $TARGETPLATFORM ]]; then
exit 1 exit 1
esac esac
GOLANG_VERSION=$(go version | sed -E 's/.*go([0-9]+\.[0-9]+\.[0-9]+).*/\1/') GOLANG_VERSION=$(go version | sed -E 's/.*go([0-9]+\.[0-9]+(\.[0-9]+)?).*/\1/')
rm -rf /usr/local/go rm -rf /usr/local/go