File tree Expand file tree Collapse file tree 17 files changed +25
-18
lines changed
frontend/dockerfile/cmd/dockerfile-frontend Expand file tree Collapse file tree 17 files changed +25
-18
lines changed Original file line number Diff line number Diff line change 27
27
type : string
28
28
29
29
env :
30
- GO_VERSION : " 1.19 "
30
+ GO_VERSION : " 1.20 "
31
31
SETUP_BUILDX_VERSION : " latest"
32
32
SETUP_BUILDKIT_IMAGE : " moby/buildkit:latest"
33
33
TESTFLAGS : " -v --parallel=6 --timeout=30m"
Original file line number Diff line number Diff line change 20
20
- ' frontend/dockerfile/docs/**'
21
21
22
22
env :
23
- GO_VERSION : " 1.19 "
23
+ GO_VERSION : " 1.20 "
24
24
SETUP_BUILDX_VERSION : " latest"
25
25
SETUP_BUILDKIT_IMAGE : " moby/buildkit:latest"
26
26
IMAGE_NAME : " moby/buildkit"
Original file line number Diff line number Diff line change 18
18
- ' frontend/dockerfile/docs/**'
19
19
20
20
env :
21
- GO_VERSION : " 1.19 "
21
+ GO_VERSION : " 1.20 "
22
22
SETUP_BUILDX_VERSION : " latest"
23
23
SETUP_BUILDKIT_TAG : " moby/buildkit:latest"
24
24
IMAGE_NAME : " docker/dockerfile-upstream"
Original file line number Diff line number Diff line change 18
18
- ' frontend/dockerfile/docs/**'
19
19
20
20
env :
21
- GO_VERSION : " 1.19 "
21
+ GO_VERSION : " 1.20 "
22
22
TESTFLAGS : " -v --parallel=6 --timeout=30m"
23
23
24
24
jobs :
39
39
name : Set up Go
40
40
uses : actions/setup-go@v3
41
41
with :
42
- go-version : ${{ env.GO_VERSION }}
42
+ go-version : " ${{ env.GO_VERSION }}"
43
43
cache : true
44
44
-
45
45
name : Go mod
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ ARG MINIO_VERSION=RELEASE.2022-05-03T20-36-08Z
15
15
ARG MINIO_MC_VERSION=RELEASE.2022-05-04T06-07-55Z
16
16
ARG AZURITE_VERSION=3.18.0
17
17
18
+ ARG GO_VERSION=1.20
18
19
ARG ALPINE_VERSION=3.17
19
20
20
21
# minio for s3 integration tests
@@ -35,7 +36,7 @@ FROM alpine-$TARGETARCH AS alpinebase
35
36
FROM --platform=$BUILDPLATFORM tonistiigi/xx:1.2.1 AS xx
36
37
37
38
# go base image
38
- FROM --platform=$BUILDPLATFORM golang:1.19 -alpine${ALPINE_VERSION} AS golatest
39
+ FROM --platform=$BUILDPLATFORM golang:${GO_VERSION} -alpine${ALPINE_VERSION} AS golatest
39
40
40
41
# git stage is used for checking out remote repository sources
41
42
FROM --platform=$BUILDPLATFORM alpine:${ALPINE_VERSION} AS git
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ func main() {
33
33
}
34
34
35
35
func goBuildBase () llb.State {
36
- goAlpine := llb .Image ("docker.io/library/golang:1.19 -alpine" )
36
+ goAlpine := llb .Image ("docker.io/library/golang:1.20 -alpine" )
37
37
return goAlpine .
38
38
AddEnv ("PATH" , "/usr/local/go/bin:" + system .DefaultPathEnvUnix ).
39
39
AddEnv ("GOPATH" , "/go" ).
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ func main() {
33
33
}
34
34
35
35
func goBuildBase () llb.State {
36
- goAlpine := llb .Image ("docker.io/library/golang:1.19 -alpine" )
36
+ goAlpine := llb .Image ("docker.io/library/golang:1.20 -alpine" )
37
37
return goAlpine .
38
38
AddEnv ("PATH" , "/usr/local/go/bin:" + system .DefaultPathEnvUnix ).
39
39
AddEnv ("GOPATH" , "/go" ).
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ func main() {
33
33
}
34
34
35
35
func goBuildBase () llb.State {
36
- goAlpine := llb .Image ("docker.io/library/golang:1.19 -alpine" )
36
+ goAlpine := llb .Image ("docker.io/library/golang:1.20 -alpine" )
37
37
return goAlpine .
38
38
AddEnv ("PATH" , "/usr/local/go/bin:" + system .DefaultPathEnvUnix ).
39
39
AddEnv ("GOPATH" , "/go" ).
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ func main() {
34
34
}
35
35
36
36
func goBuildBase () llb.State {
37
- goAlpine := llb .Image ("docker.io/library/golang:1.19 -alpine" )
37
+ goAlpine := llb .Image ("docker.io/library/golang:1.20 -alpine" )
38
38
return goAlpine .
39
39
AddEnv ("PATH" , "/usr/local/go/bin:" + system .DefaultPathEnvUnix ).
40
40
AddEnv ("GOPATH" , "/go" ).
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ func main() {
37
37
}
38
38
39
39
func goBuildBase () llb.State {
40
- goAlpine := llb .Image ("docker.io/library/golang:1.19 -alpine" )
40
+ goAlpine := llb .Image ("docker.io/library/golang:1.20 -alpine" )
41
41
return goAlpine .
42
42
AddEnv ("PATH" , "/usr/local/go/bin:" + system .DefaultPathEnvUnix ).
43
43
AddEnv ("GOPATH" , "/go" ).
You can’t perform that action at this time.
0 commit comments