File tree Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Expand file tree Collapse file tree 3 files changed +14
-12
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.22
1616 commands :
1717 - go vet ./...
1818 environment :
@@ -45,7 +45,7 @@ platform:
4545
4646steps :
4747 - name : go build
48- image : golang:1.19
48+ image : golang:1.22
4949 environment :
5050 CGO_ENABLED : 0
5151 commands :
@@ -87,7 +87,7 @@ platform:
8787
8888steps :
8989 - name : go build
90- image : golang:1.19
90+ image : golang:1.22
9191 environment :
9292 CGO_ENABLED : 0
9393 commands :
@@ -130,7 +130,7 @@ platform:
130130
131131steps :
132132 - name : build-push
133- image : golang:1.19
133+ image : golang:1.22
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.19
143+ image : golang:1.22
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
189189steps :
190190 - name : build-push
191- image : golang:1.19
191+ image : golang:1.22
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.19
202+ image : golang:1.22
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:
280280steps :
281281 - name : build
282282 pull : always
283- image : golang:1.19
283+ image : golang:1.22
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
Original file line number Diff line number Diff line change 11module github.com/drone-plugins/drone-buildx-gar
22
3- go 1.21
3+ go 1.22
4+
5+ toolchain go1.22.0
46
57require (
6- github.com/drone-plugins/drone-buildx v1.1.19
8+ github.com/drone-plugins/drone-buildx v1.1.24
79 github.com/joho/godotenv v1.5.1
810 github.com/sirupsen/logrus v1.9.0
911 golang.org/x/oauth2 v0.13.0
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46t
1616github.com/davecgh/go-spew v1.1.0 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
1717github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c =
1818github.com/davecgh/go-spew v1.1.1 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
19- github.com/drone-plugins/drone-buildx v1.1.19 h1:/6Z+FX1RF8+n5frvtCy/GZGCO0M5U3qRIITqDqkricA =
20- github.com/drone-plugins/drone-buildx v1.1.19 /go.mod h1:TR1qqwMYXpe38qHb7am2FFIF/Y0yRucen9BMv35AR00 =
19+ github.com/drone-plugins/drone-buildx v1.1.24 h1:DviIwAItvze5IM8L09kVxFXsWoFlVjErbz2QDtbU3iI =
20+ github.com/drone-plugins/drone-buildx v1.1.24 /go.mod h1:RvpdpL5Ho1rY7kG2td+0Mcle7A81ozBEl6jc1F6m6a8 =
2121github.com/drone-plugins/drone-plugin-lib v0.4.2 h1:EiJ3Kco6ypP5noBQqVt1bBbuO1eUAumtPvLTX/NVAYg =
2222github.com/drone-plugins/drone-plugin-lib v0.4.2 /go.mod h1:KwCu92jFjHV3xv2hu5Qg/8zBNvGwbhoJDQw/EwnTvoM =
2323github.com/drone/drone-go v1.7.1 h1:ZX+3Rs8YHUSUQ5mkuMLmm1zr1ttiiE2YGNxF3AnyDKw =
You can’t perform that action at this time.
0 commit comments