From a8c5a2e266dccfe14ad7cb84f7078bbf361e8a9f Mon Sep 17 00:00:00 2001 From: Zhiying Lin <54013513+zhiying-lin@users.noreply.github.com> Date: Fri, 27 Sep 2024 02:01:42 +0800 Subject: [PATCH] fix: bump go build version to 1.22.7 (#919) --- .github/workflows/ci.yml | 2 +- .github/workflows/code-lint.yml | 2 +- .github/workflows/trivy.yml | 2 +- .golangci.yml | 2 +- docker/hub-agent.Dockerfile | 2 +- docker/member-agent.Dockerfile | 2 +- docker/refresh-token.Dockerfile | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91c1c2a7d..52b42bf0b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ on: paths-ignore: [docs/**, "**.md", "**.mdx", "**.png", "**.jpg"] env: - GO_VERSION: '1.22.4' + GO_VERSION: '1.22.7' jobs: detect-noop: diff --git a/.github/workflows/code-lint.yml b/.github/workflows/code-lint.yml index a1732783e..6a2e27bfb 100644 --- a/.github/workflows/code-lint.yml +++ b/.github/workflows/code-lint.yml @@ -14,7 +14,7 @@ on: env: # Common versions - GO_VERSION: '1.22.4' + GO_VERSION: '1.22.7' jobs: diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index 4612449bc..f966d3edb 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -17,7 +17,7 @@ env: MEMBER_AGENT_IMAGE_NAME: member-agent REFRESH_TOKEN_IMAGE_NAME: refresh-token - GO_VERSION: '1.22.4' + GO_VERSION: '1.22.7' jobs: export-registry: diff --git a/.golangci.yml b/.golangci.yml index a6ad4a497..caacb3e6b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,6 +1,6 @@ run: deadline: 10m - go: '1.22.4' + go: '1.22.7' linters: disable-all: true diff --git a/docker/hub-agent.Dockerfile b/docker/hub-agent.Dockerfile index 4eb505e13..6e89f7d71 100644 --- a/docker/hub-agent.Dockerfile +++ b/docker/hub-agent.Dockerfile @@ -1,5 +1,5 @@ # Build the hubagent binary -FROM mcr.microsoft.com/oss/go/microsoft/golang:1.22.4 AS builder +FROM mcr.microsoft.com/oss/go/microsoft/golang:1.22.7 AS builder WORKDIR /workspace # Copy the Go Modules manifests diff --git a/docker/member-agent.Dockerfile b/docker/member-agent.Dockerfile index 7ba160789..48d7faf8c 100644 --- a/docker/member-agent.Dockerfile +++ b/docker/member-agent.Dockerfile @@ -1,5 +1,5 @@ # Build the memberagent binary -FROM mcr.microsoft.com/oss/go/microsoft/golang:1.22.4 AS builder +FROM mcr.microsoft.com/oss/go/microsoft/golang:1.22.7 AS builder WORKDIR /workspace # Copy the Go Modules manifests diff --git a/docker/refresh-token.Dockerfile b/docker/refresh-token.Dockerfile index c21653920..9e5c4fb62 100644 --- a/docker/refresh-token.Dockerfile +++ b/docker/refresh-token.Dockerfile @@ -1,5 +1,5 @@ # Build the hubagent binary -FROM mcr.microsoft.com/oss/go/microsoft/golang:1.22.4 AS builder +FROM mcr.microsoft.com/oss/go/microsoft/golang:1.22.7 AS builder WORKDIR /workspace # Copy the Go Modules manifests