Skip to content

Commit

Permalink
[feat]: [CI-15528]: Update buildx version to include buildkit in image (
Browse files Browse the repository at this point in the history
  • Loading branch information
anurag-harness authored Dec 8, 2024
1 parent 67f2b6d commit 613ca38
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ platform:

steps:
- name: vet
image: golang:1.19
image: golang:1.22
commands:
- go vet ./...
environment:
Expand Down Expand Up @@ -45,7 +45,7 @@ platform:

steps:
- name: go build
image: golang:1.19
image: golang:1.22
environment:
CGO_ENABLED: 0
commands:
Expand Down Expand Up @@ -87,7 +87,7 @@ platform:

steps:
- name: go build
image: golang:1.19
image: golang:1.22
environment:
CGO_ENABLED: 0
commands:
Expand Down Expand Up @@ -130,7 +130,7 @@ platform:

steps:
- name: build-push
image: golang:1.19
image: golang:1.22
commands:
- 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/amd64/buildx-gar ./cmd/drone-buildx-gar'
environment:
Expand All @@ -140,7 +140,7 @@ steps:
exclude:
- tag
- name: build-tag
image: golang:1.19
image: golang:1.22
commands:
- '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'
environment:
Expand Down Expand Up @@ -188,7 +188,7 @@ platform:

steps:
- name: build-push
image: golang:1.19
image: golang:1.22
commands:
- 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/arm64/buildx-gar ./cmd/drone-buildx-gar'
environment:
Expand All @@ -199,7 +199,7 @@ steps:
- tag

- name: build-tag
image: golang:1.19
image: golang:1.22
commands:
- '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'
environment:
Expand Down Expand Up @@ -280,7 +280,7 @@ pool:
steps:
- name: build
pull: always
image: golang:1.19
image: golang:1.22
commands:
- GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-gar-linux-amd64 ./cmd/drone-buildx-gar
- GOOS=linux GOARCH=arm64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-gar-linux-arm64 ./cmd/drone-buildx-gar
Expand Down
6 changes: 4 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
module github.com/drone-plugins/drone-buildx-gar

go 1.21
go 1.22

toolchain go1.22.0

require (
github.com/drone-plugins/drone-buildx v1.1.19
github.com/drone-plugins/drone-buildx v1.1.24
github.com/joho/godotenv v1.5.1
github.com/sirupsen/logrus v1.9.0
golang.org/x/oauth2 v0.13.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46t
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/drone-plugins/drone-buildx v1.1.19 h1:/6Z+FX1RF8+n5frvtCy/GZGCO0M5U3qRIITqDqkricA=
github.com/drone-plugins/drone-buildx v1.1.19/go.mod h1:TR1qqwMYXpe38qHb7am2FFIF/Y0yRucen9BMv35AR00=
github.com/drone-plugins/drone-buildx v1.1.24 h1:DviIwAItvze5IM8L09kVxFXsWoFlVjErbz2QDtbU3iI=
github.com/drone-plugins/drone-buildx v1.1.24/go.mod h1:RvpdpL5Ho1rY7kG2td+0Mcle7A81ozBEl6jc1F6m6a8=
github.com/drone-plugins/drone-plugin-lib v0.4.2 h1:EiJ3Kco6ypP5noBQqVt1bBbuO1eUAumtPvLTX/NVAYg=
github.com/drone-plugins/drone-plugin-lib v0.4.2/go.mod h1:KwCu92jFjHV3xv2hu5Qg/8zBNvGwbhoJDQw/EwnTvoM=
github.com/drone/drone-go v1.7.1 h1:ZX+3Rs8YHUSUQ5mkuMLmm1zr1ttiiE2YGNxF3AnyDKw=
Expand Down

0 comments on commit 613ca38

Please sign in to comment.