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: