mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-03-27 20:30:27 +02:00
Fix docker/go.sh for Go versions without patch number
This commit is contained in:
parent
e1a69c5d95
commit
9a70bbe4e4
@ -33,7 +33,7 @@ if [[ $BUILDPLATFORM != $TARGETPLATFORM ]]; then
|
||||
exit 1
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user