Skip to content

Commit d8d757d

Browse files
Update golang Docker tag to v1.23
1 parent 613ca38 commit d8d757d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.drone.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ platform:
1212

1313
steps:
1414
- name: vet
15-
image: golang:1.22
15+
image: golang:1.23
1616
commands:
1717
- go vet ./...
1818
environment:
@@ -45,7 +45,7 @@ platform:
4545

4646
steps:
4747
- name: go build
48-
image: golang:1.22
48+
image: golang:1.23
4949
environment:
5050
CGO_ENABLED: 0
5151
commands:
@@ -87,7 +87,7 @@ platform:
8787

8888
steps:
8989
- name: go build
90-
image: golang:1.22
90+
image: golang:1.23
9191
environment:
9292
CGO_ENABLED: 0
9393
commands:
@@ -130,7 +130,7 @@ platform:
130130

131131
steps:
132132
- name: build-push
133-
image: golang:1.22
133+
image: golang:1.23
134134
commands:
135135
- 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/amd64/buildx-gar ./cmd/drone-buildx-gar'
136136
environment:
@@ -140,7 +140,7 @@ steps:
140140
exclude:
141141
- tag
142142
- name: build-tag
143-
image: golang:1.22
143+
image: golang:1.23
144144
commands:
145145
- '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'
146146
environment:
@@ -188,7 +188,7 @@ platform:
188188

189189
steps:
190190
- name: build-push
191-
image: golang:1.22
191+
image: golang:1.23
192192
commands:
193193
- 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/arm64/buildx-gar ./cmd/drone-buildx-gar'
194194
environment:
@@ -199,7 +199,7 @@ steps:
199199
- tag
200200

201201
- name: build-tag
202-
image: golang:1.22
202+
image: golang:1.23
203203
commands:
204204
- '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'
205205
environment:
@@ -280,7 +280,7 @@ pool:
280280
steps:
281281
- name: build
282282
pull: always
283-
image: golang:1.22
283+
image: golang:1.23
284284
commands:
285285
- GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-gar-linux-amd64 ./cmd/drone-buildx-gar
286286
- GOOS=linux GOARCH=arm64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-gar-linux-arm64 ./cmd/drone-buildx-gar

0 commit comments

Comments
 (0)