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:
parent
e1a69c5d95
commit
9a70bbe4e4
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user