From 1be2eec7b60faf76b4528bb4dd8a895b798b684c Mon Sep 17 00:00:00 2001 From: abhay084 Date: Thu, 16 Nov 2023 16:37:54 +0530 Subject: [PATCH] upgrade go version to 1.21 --- .drone.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 08a7cae..b77456b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ pool: steps: - name: build - image: golang:1.20 + image: golang:1.21 commands: - go test ./... - sh scripts/build.sh @@ -27,7 +27,7 @@ platform: steps: - name: build-push - image: golang:1.20 + image: golang:1.21 commands: - 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -o release/linux/amd64/plugin' environment: @@ -38,7 +38,7 @@ steps: - tag - name: build-tag - image: golang:1.20 + image: golang:1.21 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -o release/linux/amd64/plugin' environment: @@ -85,7 +85,7 @@ platform: steps: - name: build-push - image: golang:1.20 + image: golang:1.21 commands: - 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -o release/linux/arm64/plugin' environment: @@ -96,7 +96,7 @@ steps: - tag - name: build-tag - image: golang:1.20 + image: golang:1.21 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -o release/linux/arm64/plugin' environment: @@ -143,7 +143,7 @@ platform: steps: - name: build-push - image: golang:1.20 + image: golang:1.21 commands: - 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -o release/windows/amd64/plugin' environment: @@ -153,7 +153,7 @@ steps: exclude: - tag - name: build-tag - image: golang:1.20 + image: golang:1.21 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -o release/windows/amd64/plugin' environment: