diff --git a/.drone.yml b/.drone.yml index a01c2e9..e039cb5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,7 +12,7 @@ platform: steps: - name: vet - image: golang:1.19 + image: golang:1.23 commands: - go vet ./... environment: @@ -45,7 +45,7 @@ platform: steps: - name: go build - image: golang:1.19 + image: golang:1.23 environment: CGO_ENABLED: 0 commands: @@ -87,7 +87,7 @@ platform: steps: - name: go build - image: golang:1.19 + image: golang:1.23 environment: CGO_ENABLED: 0 commands: @@ -130,7 +130,7 @@ platform: steps: - name: build-push - image: golang:1.19 + image: golang:1.23 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: @@ -140,7 +140,7 @@ steps: exclude: - tag - name: build-tag - image: golang:1.19 + image: golang:1.23 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: @@ -188,7 +188,7 @@ platform: steps: - name: build-push - image: golang:1.19 + image: golang:1.23 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: @@ -199,7 +199,7 @@ steps: - tag - name: build-tag - image: golang:1.19 + image: golang:1.23 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: @@ -280,7 +280,7 @@ pool: steps: - name: build pull: always - image: golang:1.19 + image: golang:1.23 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