diff --git a/.github/workflows/auto-upgrade-ci.yaml b/.github/workflows/auto-upgrade-ci.yaml index 5a7b98b13..2b3a90604 100644 --- a/.github/workflows/auto-upgrade-ci.yaml +++ b/.github/workflows/auto-upgrade-ci.yaml @@ -202,7 +202,7 @@ jobs: - name: Setup Golang uses: actions/setup-go@v5 with: - go-version: 1.25.7 + go-version: 1.26.1 - name: Install Tools run: | diff --git a/.github/workflows/e2e-init.yaml b/.github/workflows/e2e-init.yaml index 3c6dc538f..44ea6e011 100644 --- a/.github/workflows/e2e-init.yaml +++ b/.github/workflows/e2e-init.yaml @@ -96,7 +96,7 @@ jobs: - name: Setup Golang uses: actions/setup-go@v5 with: - go-version: 1.25.7 + go-version: 1.26.1 - name: Install Tools run: | diff --git a/.github/workflows/lint-golang.yaml b/.github/workflows/lint-golang.yaml index 1b45770d8..d7574164b 100644 --- a/.github/workflows/lint-golang.yaml +++ b/.github/workflows/lint-golang.yaml @@ -82,7 +82,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.25.7 + go-version: 1.26.1 - name: Checkout code uses: actions/checkout@v4 @@ -138,7 +138,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.25.7 + go-version: 1.26.1 - name: Checkout code uses: actions/checkout@v4 @@ -192,7 +192,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.25.7 + go-version: 1.26.1 - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/lint-grafana-file.yaml b/.github/workflows/lint-grafana-file.yaml index 6cb4fd91f..e43561374 100644 --- a/.github/workflows/lint-grafana-file.yaml +++ b/.github/workflows/lint-grafana-file.yaml @@ -23,7 +23,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.25.7 + go-version: 1.26.1 # Step 3: Install and run dashboard-linter - name: Lint Grafana Dashboards diff --git a/Makefile.version b/Makefile.version index 9feb84fac..75f66aa58 100644 --- a/Makefile.version +++ b/Makefile.version @@ -1,2 +1,2 @@ -GO_VERSION := 1.25.7 +GO_VERSION := 1.26.1 GINKGO_VERSION := 2.1.3 diff --git a/go.mod b/go.mod index 27893cdca..ff61d91ba 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/spidernet-io/spiderpool -go 1.25 +go 1.26 require ( github.com/agiledragon/gomonkey/v2 v2.11.0 diff --git a/images/spiderpool-agent/Dockerfile b/images/spiderpool-agent/Dockerfile index 56e377bfe..d0b00b226 100644 --- a/images/spiderpool-agent/Dockerfile +++ b/images/spiderpool-agent/Dockerfile @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 ARG BASE_IMAGE=ghcr.io/spidernet-io/spiderpool/spiderpool-base:e5de792a4214e67a4d10a6faf476fef3d9f043ca -ARG GOLANG_IMAGE=docker.io/library/golang:1.25.7@sha256:cc737435e2742bd6da3b7d575623968683609a3d2e0695f9d85bee84071c08e6 +ARG GOLANG_IMAGE=docker.io/library/golang:1.26.1@sha256:e2ddb153f786ee6210bf8c40f7f35490b3ff7d38be70d1a0d358ba64225f6428 #======= build bin ========== FROM --platform=${BUILDPLATFORM} ${GOLANG_IMAGE} AS builder diff --git a/images/spiderpool-base/Dockerfile b/images/spiderpool-base/Dockerfile index fc71ee24d..a069fde74 100644 --- a/images/spiderpool-base/Dockerfile +++ b/images/spiderpool-base/Dockerfile @@ -3,7 +3,7 @@ # docker buildx build -t testbase:latest --platform=linux/arm64,linux/amd64 --output type=docker . -ARG GOLANG_IMAGE=docker.io/library/golang:1.25.7@sha256:cc737435e2742bd6da3b7d575623968683609a3d2e0695f9d85bee84071c08e6 +ARG GOLANG_IMAGE=docker.io/library/golang:1.26.1@sha256:e2ddb153f786ee6210bf8c40f7f35490b3ff7d38be70d1a0d358ba64225f6428 ARG UBUNTU_IMAGE=docker.io/library/ubuntu:20.04@sha256:bea6d19168bbfd6af8d77c2cc3c572114eb5d113e6f422573c93cb605a0e2ffb diff --git a/images/spiderpool-controller/Dockerfile b/images/spiderpool-controller/Dockerfile index d6263f340..ea778e533 100644 --- a/images/spiderpool-controller/Dockerfile +++ b/images/spiderpool-controller/Dockerfile @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 ARG BASE_IMAGE=ghcr.io/spidernet-io/spiderpool/spiderpool-base:163aca9e9d927363fa80aca7d9721b379671a790 -ARG GOLANG_IMAGE=docker.io/library/golang:1.25.7@sha256:cc737435e2742bd6da3b7d575623968683609a3d2e0695f9d85bee84071c08e6 +ARG GOLANG_IMAGE=docker.io/library/golang:1.26.1@sha256:e2ddb153f786ee6210bf8c40f7f35490b3ff7d38be70d1a0d358ba64225f6428 #======= build bin ========== FROM --platform=${BUILDPLATFORM} ${GOLANG_IMAGE} AS builder diff --git a/images/spiderpool-plugins/Dockerfile b/images/spiderpool-plugins/Dockerfile index 6605b6791..20744ac56 100644 --- a/images/spiderpool-plugins/Dockerfile +++ b/images/spiderpool-plugins/Dockerfile @@ -1,7 +1,7 @@ # Copyright 2023 Authors of spidernet-io # SPDX-License-Identifier: Apache-2.0 -ARG GOLANG_IMAGE=docker.io/library/golang:1.25.7@sha256:cc737435e2742bd6da3b7d575623968683609a3d2e0695f9d85bee84071c08e6 +ARG GOLANG_IMAGE=docker.io/library/golang:1.26.1@sha256:e2ddb153f786ee6210bf8c40f7f35490b3ff7d38be70d1a0d358ba64225f6428 #======= build plugins ========== FROM --platform=${BUILDPLATFORM} ${GOLANG_IMAGE} AS builder