From a19fe03cb96641b24684450a9c9004cba4f93e46 Mon Sep 17 00:00:00 2001 From: rahkumar56 <139110109+rahkumar56@users.noreply.github.com> Date: Wed, 3 Jul 2024 15:21:16 +0530 Subject: [PATCH] fix: [CI-13178]: Upgraded go with minor version to 1.22.4 --- .drone.yml | 18 +++++++++--------- go.mod | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.drone.yml b/.drone.yml index 41ae203..7672631 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ pool: steps: - name: build - image: golang:1.22 + image: golang:1.22.4 commands: - go test ./... - sh scripts/build.sh @@ -27,7 +27,7 @@ platform: steps: - name: build-push - image: golang:1.22 + image: golang:1.22.4 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.22 + image: golang:1.22.4 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.22 + image: golang:1.22.4 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.22 + image: golang:1.22.4 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.22 + image: golang:1.22.4 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.22 + image: golang:1.22.4 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -o release/windows/amd64/plugin' environment: @@ -199,7 +199,7 @@ platform: steps: - name: build-push - image: golang:1.22 + image: golang:1.22.4 commands: - 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -o release/windows/amd64/plugin' environment: @@ -209,7 +209,7 @@ steps: exclude: - tag - name: build-tag - image: golang:1.22 + image: golang:1.22.4 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -o release/windows/amd64/plugin' environment: diff --git a/go.mod b/go.mod index 811a4f4..b230f8a 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/drone/drone-artifactory -go 1.22 +go 1.22.4 require ( github.com/kelseyhightower/envconfig v1.4.0