From 205f3ef1259f5723eaabbd9c4dcb902ce3dd857b Mon Sep 17 00:00:00 2001 From: weizhoublue Date: Wed, 25 Dec 2024 11:09:38 +0000 Subject: [PATCH] robot Update project owing to updated Golang Version Signed-off-by: GitHub --- .github/workflows/lint-golang.yaml | 6 +++--- GO_VERSION | 2 +- go.mod | 2 +- image/agent/Dockerfile | 2 +- image/controller/Dockerfile | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint-golang.yaml b/.github/workflows/lint-golang.yaml index 5a523545..9602804f 100644 --- a/.github/workflows/lint-golang.yaml +++ b/.github/workflows/lint-golang.yaml @@ -84,7 +84,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: 1.23.1 + go-version: - name: Checkout code uses: actions/checkout@v3 @@ -106,7 +106,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: 1.23.1 + go-version: - name: Checkout code uses: actions/checkout@v3 @@ -149,7 +149,7 @@ jobs: # - name: Install Go # uses: actions/setup-go@v4 # with: - # go-version: 1.23.1 + # go-version: # - name: Checkout code # uses: actions/checkout@v3 diff --git a/GO_VERSION b/GO_VERSION index 1b50fc31..27ddcc14 100644 --- a/GO_VERSION +++ b/GO_VERSION @@ -1 +1 @@ -1.23.1 \ No newline at end of file +1.23.4 diff --git a/go.mod b/go.mod index 219beb7d..24ad9d46 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/spidernet-io/bmc -go 1.23.0 +go toolchain go1.23.4 diff --git a/image/agent/Dockerfile b/image/agent/Dockerfile index 1d74723b..59e85600 100644 --- a/image/agent/Dockerfile +++ b/image/agent/Dockerfile @@ -1,5 +1,5 @@ # Build stage -FROM docker.io/library/golang:1.23.1 as builder +FROM docker.io/library/golang:1.23.4 as builder # Copy the entire project WORKDIR /workspace diff --git a/image/controller/Dockerfile b/image/controller/Dockerfile index 9cc35295..1f738647 100644 --- a/image/controller/Dockerfile +++ b/image/controller/Dockerfile @@ -1,5 +1,5 @@ # Build stage -FROM docker.io/library/golang:1.23.1 as builder +FROM docker.io/library/golang:1.23.4 as builder # Copy the entire project WORKDIR /workspace