File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ platform:
1212
1313steps :
1414 - name : vet
15- image : golang:1.19
15+ image : golang:1.23
1616 commands :
1717 - go vet ./...
1818 environment :
@@ -44,7 +44,7 @@ platform:
4444
4545steps :
4646 - name : go build
47- image : golang:1.19
47+ image : golang:1.23
4848 environment :
4949 CGO_ENABLED : 0
5050 commands :
@@ -87,7 +87,7 @@ platform:
8787
8888steps :
8989 - name : build-push
90- image : golang:1.19
90+ image : golang:1.23
9191 commands :
9292 - ' go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/amd64/buildx-gar ./cmd/drone-buildx-gar'
9393 environment :
9797 exclude :
9898 - tag
9999 - name : build-tag
100- image : golang:1.19
100+ image : golang:1.23
101101 commands :
102102 - ' go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/amd64/buildx-gar ./cmd/drone-buildx-gar'
103103 environment :
@@ -145,7 +145,7 @@ platform:
145145
146146steps :
147147 - name : build-push
148- image : golang:1.19
148+ image : golang:1.23
149149 commands :
150150 - ' go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/arm64/buildx-gar ./cmd/drone-buildx-gar'
151151 environment :
@@ -156,7 +156,7 @@ steps:
156156 - tag
157157
158158 - name : build-tag
159- image : golang:1.19
159+ image : golang:1.23
160160 commands :
161161 - ' go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/arm64/buildx-gar ./cmd/drone-buildx-gar'
162162 environment :
@@ -237,7 +237,7 @@ pool:
237237steps :
238238 - name : build
239239 pull : always
240- image : golang:1.19
240+ image : golang:1.23
241241 commands :
242242 - GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-gar-linux-amd64 ./cmd/drone-buildx-gar
243243 - GOOS=linux GOARCH=arm64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-gar-linux-arm64 ./cmd/drone-buildx-gar
You can’t perform that action at this time.
0 commit comments