File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ COPY go.sum go.sum
11
11
12
12
RUN \
13
13
# get Go version from mod file
14
- export GO_VERSION=$(grep -E "go [[:digit:]]\. [[:digit:]][[:digit:]]" go.mod | awk '{print $2}' ) && \
14
+ export GO_VERSION=$(grep -oE "go [[:digit:]]\. [[:digit:]][[:digit:]]" go.mod | awk '{print $2}' ) && \
15
15
echo ${GO_VERSION} && \
16
16
# find filename for latest z version from Go download page
17
17
export GO_FILENAME=$(curl -sL 'https://go.dev/dl/?mode=json&include=all' | jq -r "[.[] | select(.version | startswith(\" go${GO_VERSION}\" ))][0].files[] | select(.os == \" linux\" and .arch == \" amd64\" ) | .filename" ) && \
Original file line number Diff line number Diff line change 1
1
module github.com/medik8s/node-healthcheck-operator
2
2
3
- go 1.23
3
+ go 1.23.0
4
4
5
5
require (
6
6
github.com/go-logr/logr v1.4.2
You can’t perform that action at this time.
0 commit comments