From 7babc3540645f9e3e325ce9f9a9f7f7c7630757c Mon Sep 17 00:00:00 2001 From: abhay084 Date: Thu, 13 Jun 2024 14:01:34 +0530 Subject: [PATCH 1/3] update windows binary naming for rrelease --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index bde6364..22eb0f2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -49,7 +49,7 @@ steps: - GOOS=linux GOARCH=arm64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-gcr-linux-arm64 ./cmd/drone-buildx-gcr - GOOS=darwin GOARCH=amd64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-gcr-darwin-amd64 ./cmd/drone-buildx-gcr - GOOS=darwin GOARCH=arm64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-gcr-darwin-arm64 ./cmd/drone-buildx-gcr - - GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-gcr-windows-amd64.exe ./cmd/drone-buildx-gcr + - GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-gcr-windows-amd64 ./cmd/drone-buildx-gcr environment: CGO_ENABLED: 0 @@ -63,7 +63,7 @@ steps: - zstd release/drone-buildx-gcr-linux-arm64 - zstd release/drone-buildx-gcr-darwin-arm64 - zstd release/drone-buildx-gcr-darwin-amd64 - - zstd release/drone-buildx-gcr-windows-amd64.exe + - zstd release/drone-buildx-gcr-windows-amd64 - name: release image: plugins/github-release @@ -73,7 +73,7 @@ steps: - release/drone-buildx-gcr-linux-arm64.zst - release/drone-buildx-gcr-darwin-arm64.zst - release/drone-buildx-gcr-darwin-amd64.zst - - release/drone-buildx-gcr-windows-amd64.exe.zst + - release/drone-buildx-gcr-windows-amd64.zst api_key: from_secret: github_token when: From 8cf83ebd4198cbf7cc24c87e3fae003ca3d2aa13 Mon Sep 17 00:00:00 2001 From: abhay084 Date: Thu, 13 Jun 2024 16:35:28 +0530 Subject: [PATCH 2/3] update buildx version for windows testing --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index cb12df3..5aa0fa8 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/drone-plugins/drone-buildx-gcr go 1.21 require ( - github.com/drone-plugins/drone-buildx v1.1.7 + github.com/drone-plugins/drone-buildx v1.1.8-0.20240612195652-551351365201 github.com/joho/godotenv v1.5.1 github.com/sirupsen/logrus v1.9.3 golang.org/x/oauth2 v0.19.0 diff --git a/go.sum b/go.sum index 529defb..dd52d9d 100644 --- a/go.sum +++ b/go.sum @@ -18,8 +18,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.7 h1:v++Lb1xJ5pAyN/Mo+NZFtuDLvyWRdGM+LgzuSsArHqU= -github.com/drone-plugins/drone-buildx v1.1.7/go.mod h1:vof8lA/q9NCcKPV4HSipz30+Du4o10wIcmp+tOlX4yI= +github.com/drone-plugins/drone-buildx v1.1.8-0.20240612195652-551351365201 h1:sRfYbbjCq+oTUs6LXUii3/dKu/FR/4YaCTLAeJuX+z0= +github.com/drone-plugins/drone-buildx v1.1.8-0.20240612195652-551351365201/go.mod h1:vof8lA/q9NCcKPV4HSipz30+Du4o10wIcmp+tOlX4yI= 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= From 054a90129c3d276849304bc38be400a5e8fca04e Mon Sep 17 00:00:00 2001 From: abhay084 Date: Fri, 14 Jun 2024 14:09:41 +0530 Subject: [PATCH 3/3] update buildx version for windows testing --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 5aa0fa8..e0b0461 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/drone-plugins/drone-buildx-gcr go 1.21 require ( - github.com/drone-plugins/drone-buildx v1.1.8-0.20240612195652-551351365201 + github.com/drone-plugins/drone-buildx v1.1.8 github.com/joho/godotenv v1.5.1 github.com/sirupsen/logrus v1.9.3 golang.org/x/oauth2 v0.19.0 diff --git a/go.sum b/go.sum index dd52d9d..815fa75 100644 --- a/go.sum +++ b/go.sum @@ -18,8 +18,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.8-0.20240612195652-551351365201 h1:sRfYbbjCq+oTUs6LXUii3/dKu/FR/4YaCTLAeJuX+z0= -github.com/drone-plugins/drone-buildx v1.1.8-0.20240612195652-551351365201/go.mod h1:vof8lA/q9NCcKPV4HSipz30+Du4o10wIcmp+tOlX4yI= +github.com/drone-plugins/drone-buildx v1.1.8 h1:kPMylTLlNILx/CfqvFL8Yodj5U2Gfe7p71wteRfo67A= +github.com/drone-plugins/drone-buildx v1.1.8/go.mod h1:vof8lA/q9NCcKPV4HSipz30+Du4o10wIcmp+tOlX4yI= 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=