From ac5201e844a9980d36c59400e64db09d4e1676cf Mon Sep 17 00:00:00 2001 From: Ebtasam Faridy Date: Tue, 31 Mar 2026 12:28:48 +0530 Subject: [PATCH] fix: [CI-21413] updating component versions to resolve eols --- .drone.yml | 60 ++++++++++++++-------------- .harness/harness.yaml | 12 +++--- docker/docker/Dockerfile.linux.amd64 | 2 +- docker/docker/Dockerfile.linux.arm64 | 2 +- go.mod | 4 +- 5 files changed, 40 insertions(+), 40 deletions(-) diff --git a/.drone.yml b/.drone.yml index eac1670..ddb420d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,7 +12,7 @@ platform: steps: - name: vet - image: golang:1.24.11 + image: golang:1.25.8 commands: - go vet ./... environment: @@ -22,7 +22,7 @@ steps: path: /go - name: test - image: golang:1.24.11 + image: golang:1.25.8 commands: - go test -cover ./... environment: @@ -55,7 +55,7 @@ platform: steps: - name: go build - image: golang:1.24.11 + image: golang:1.25.8 environment: CGO_ENABLED: 0 commands: @@ -162,7 +162,7 @@ platform: steps: - name: go build - image: golang:1.24.11 + image: golang:1.25.8 environment: CGO_ENABLED: 0 commands: @@ -264,7 +264,7 @@ platform: steps: - name: build-push - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.version=${DRONE_COMMIT_SHA:0:8}" -a -tags netgo -o release/linux/amd64/drone-docker ./cmd/drone-docker' environment: @@ -275,7 +275,7 @@ steps: - tag - name: build-tag - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/linux/amd64/drone-docker ./cmd/drone-docker' environment: @@ -285,7 +285,7 @@ steps: - tag - name: executable - image: golang:1.24.11 + image: golang:1.25.8 commands: - ./release/linux/amd64/drone-docker --help @@ -329,7 +329,7 @@ platform: steps: - name: build-push - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.version=${DRONE_COMMIT_SHA:0:8}" -a -tags netgo -o release/linux/arm64/drone-docker ./cmd/drone-docker' environment: @@ -340,7 +340,7 @@ steps: - tag - name: build-tag - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/linux/arm64/drone-docker ./cmd/drone-docker' environment: @@ -350,7 +350,7 @@ steps: - tag - name: executable - image: golang:1.24.11 + image: golang:1.25.8 commands: - ./release/linux/arm64/drone-docker --help @@ -429,7 +429,7 @@ platform: steps: - name: build-push - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.version=${DRONE_COMMIT_SHA:0:8}" -a -tags netgo -o release/linux/amd64/drone-gcr ./cmd/drone-gcr' environment: @@ -440,7 +440,7 @@ steps: - tag - name: build-tag - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/linux/amd64/drone-gcr ./cmd/drone-gcr' environment: @@ -488,7 +488,7 @@ platform: steps: - name: build-push - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.version=${DRONE_COMMIT_SHA:0:8}" -a -tags netgo -o release/linux/arm64/drone-gcr ./cmd/drone-gcr' environment: @@ -499,7 +499,7 @@ steps: - tag - name: build-tag - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/linux/arm64/drone-gcr ./cmd/drone-gcr' environment: @@ -582,7 +582,7 @@ platform: steps: - name: build-push - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.version=${DRONE_COMMIT_SHA:0:8}" -a -tags netgo -o release/linux/amd64/drone-gar ./cmd/drone-gar' environment: @@ -593,7 +593,7 @@ steps: - tag - name: build-tag - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/linux/amd64/drone-gar ./cmd/drone-gar' environment: @@ -641,7 +641,7 @@ platform: steps: - name: build-push - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.version=${DRONE_COMMIT_SHA:0:8}" -a -tags netgo -o release/linux/arm64/drone-gar ./cmd/drone-gar' environment: @@ -652,7 +652,7 @@ steps: - tag - name: build-tag - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/linux/arm64/drone-gar ./cmd/drone-gar' environment: @@ -734,7 +734,7 @@ platform: steps: - name: build-push - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.version=${DRONE_COMMIT_SHA:0:8}" -a -tags netgo -o release/linux/amd64/drone-ecr ./cmd/drone-ecr' environment: @@ -744,7 +744,7 @@ steps: exclude: - tag - name: build-tag - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/linux/amd64/drone-ecr ./cmd/drone-ecr' environment: @@ -792,7 +792,7 @@ platform: steps: - name: build-push - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.version=${DRONE_COMMIT_SHA:0:8}" -a -tags netgo -o release/linux/arm64/drone-ecr ./cmd/drone-ecr' environment: @@ -802,7 +802,7 @@ steps: exclude: - tag - name: build-tag - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/linux/arm64/drone-ecr ./cmd/drone-ecr' environment: @@ -885,7 +885,7 @@ platform: steps: - name: build-push - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.version=${DRONE_COMMIT_SHA:0:8}" -a -tags netgo -o release/linux/amd64/drone-heroku ./cmd/drone-heroku' environment: @@ -895,7 +895,7 @@ steps: exclude: - tag - name: build-tag - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/linux/amd64/drone-heroku ./cmd/drone-heroku' environment: @@ -944,7 +944,7 @@ platform: steps: - name: build-push - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.version=${DRONE_COMMIT_SHA:0:8}" -a -tags netgo -o release/linux/arm64/drone-heroku ./cmd/drone-heroku' environment: @@ -954,7 +954,7 @@ steps: exclude: - tag - name: build-tag - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/linux/arm64/drone-heroku ./cmd/drone-heroku' environment: @@ -1035,7 +1035,7 @@ platform: steps: - name: build-push - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/amd64/drone-acr ./cmd/drone-acr' environment: @@ -1045,7 +1045,7 @@ steps: exclude: - tag - name: build-tag - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/amd64/drone-acr ./cmd/drone-acr' environment: @@ -1093,7 +1093,7 @@ platform: steps: - name: build-push - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/arm64/drone-acr ./cmd/drone-acr' environment: @@ -1104,7 +1104,7 @@ steps: - tag - name: build-tag - image: golang:1.24.11 + image: golang:1.25.8 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/arm64/drone-acr ./cmd/drone-acr' environment: diff --git a/.harness/harness.yaml b/.harness/harness.yaml index f8662d8..29fd441 100644 --- a/.harness/harness.yaml +++ b/.harness/harness.yaml @@ -33,7 +33,7 @@ pipeline: identifier: Run_1 spec: connectorRef: Plugins_Docker_Hub_Connector - image: golang:1.24.11 + image: golang:1.25.8 shell: Sh command: go vet ./... - step: @@ -42,7 +42,7 @@ pipeline: identifier: Run_2 spec: connectorRef: Plugins_Docker_Hub_Connector - image: golang:1.24.11 + image: golang:1.25.8 shell: Sh command: go test -cover ./... - parallel: @@ -70,7 +70,7 @@ pipeline: identifier: Build_Push spec: connectorRef: Plugins_Docker_Hub_Connector - image: golang:1.24.11 + image: golang:1.25.8 shell: Sh command: go build -a -tags netgo -o release/linux/amd64/drone-<+matrix.repo> ./cmd/drone-<+matrix.repo> envVariables: @@ -157,7 +157,7 @@ pipeline: identifier: buildpush spec: connectorRef: Plugins_Docker_Hub_Connector - image: golang:1.24.11 + image: golang:1.25.8 shell: Sh command: go build -a -tags netgo -o release/linux/arm64/drone-<+matrix.repo> ./cmd/drone-<+matrix.repo> envVariables: @@ -244,7 +244,7 @@ pipeline: identifier: go_build spec: connectorRef: Plugins_Docker_Hub_Connector - image: golang:1.23.0 + image: golang:1.25.8 shell: Sh command: |- # disable cgo @@ -332,7 +332,7 @@ pipeline: identifier: build_amd64ltsc2022 spec: connectorRef: Plugins_Docker_Hub_Connector - image: golang:1.23.0 + image: golang:1.25.8 shell: Sh command: |- # disable cgo diff --git a/docker/docker/Dockerfile.linux.amd64 b/docker/docker/Dockerfile.linux.amd64 index 8c61c25..46f5a2a 100644 --- a/docker/docker/Dockerfile.linux.amd64 +++ b/docker/docker/Dockerfile.linux.amd64 @@ -1,4 +1,4 @@ -FROM docker:28.1.1-dind +FROM docker:29.3.1-dind ENV DOCKER_HOST=unix:///var/run/docker.sock diff --git a/docker/docker/Dockerfile.linux.arm64 b/docker/docker/Dockerfile.linux.arm64 index 86fd627..4d9e08e 100644 --- a/docker/docker/Dockerfile.linux.arm64 +++ b/docker/docker/Dockerfile.linux.arm64 @@ -1,4 +1,4 @@ -FROM arm64v8/docker:28.1.1-dind +FROM arm64v8/docker:29.3.1-dind ENV DOCKER_HOST=unix:///var/run/docker.sock diff --git a/go.mod b/go.mod index e665766..c58ef7b 100644 --- a/go.mod +++ b/go.mod @@ -61,6 +61,6 @@ require ( gopkg.in/yaml.v3 v3.0.1 // indirect ) -go 1.24 +go 1.25 -toolchain go1.24.11 +toolchain go1.25.8