Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore(deps): update golang docker tag to v1.23.4 (#14696)

renovate[bot]43ce557a35be
diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.yml
index e4f1b4536e..ef5bcff632 100644
--- a/.github/workflows/backend-tests.yml
+++ b/.github/workflows/backend-tests.yml
@@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
- go-version: 1.23.2
+ go-version: 1.23.4
cache: false
- name: Verify go.mod is tidy
run: |
diff --git a/.github/workflows/test_link.yml b/.github/workflows/test_link.yml
index dae1f6b25c..2bdf5753a9 100644
--- a/.github/workflows/test_link.yml
+++ b/.github/workflows/test_link.yml
@@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
- go-version: 1.23.2
+ go-version: 1.23.4
cache: false
- name: Validate links
run: go test -timeout 600s -v ./scripts/... | tee test.log; exit ${PIPESTATUS[0]}
diff --git a/README.md b/README.md
index ea4651709e..127629a41c 100644
--- a/README.md
+++ b/README.md
@@ -254,7 +254,7 @@ Below diagram describes a typical mapping between an engineering org and the cor
### Prerequisites
-- [Go](https://golang.org/doc/install) (1.23.2 or later)
+- [Go](https://golang.org/doc/install) (1.23.4 or later)
- [pnpm](https://pnpm.io/installation)
- [Air](https://github.com/bytebase/air) (**our forked repo @87187cc with the proper signal handling**). This is for backend live reload.
```bash
diff --git a/go.mod b/go.mod
index 45f4ab4b4e..874697201a 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module github.com/bytebase/bytebase
-go 1.23.2
+go 1.23.4
// workaround mssql-docker default TLS cert negative serial number problem
// https://github.com/microsoft/mssql-docker/issues/895
diff --git a/scripts/Dockerfile b/scripts/Dockerfile
index 6c1749a973..b88d780ac4 100644
--- a/scripts/Dockerfile
+++ b/scripts/Dockerfile
@@ -18,14 +18,14 @@ COPY . .
RUN pnpm --dir frontend install --frozen-lockfile
RUN pnpm --dir frontend release-docker
-FROM golang:1.23.2 as backend
+FROM golang:1.23.4 as backend
ADD go.mod go.sum /
RUN go mod download
ARG TARGETARCH
ARG VERSION="development"
ARG VERSION_SUFFIX=""
-ARG GO_VERSION="1.23.2"
+ARG GO_VERSION="1.23.4"
ARG GIT_COMMIT="unknown"
ARG BUILD_TIME="unknown"
ARG BUILD_USER="unknown"
diff --git a/scripts/Dockerfile.aws b/scripts/Dockerfile.aws
index 29adc5dddd..1f54e6f2bd 100644
--- a/scripts/Dockerfile.aws
+++ b/scripts/Dockerfile.aws
@@ -18,14 +18,14 @@ COPY . .
RUN pnpm --dir frontend install --frozen-lockfile
RUN pnpm --dir frontend release-aws
-FROM golang:1.23.2 as backend
+FROM golang:1.23.4 as backend
ADD go.mod go.sum /
RUN go mod download
ARG TARGETARCH
ARG VERSION="development"
ARG VERSION_SUFFIX=""
-ARG GO_VERSION="1.23.2"
+ARG GO_VERSION="1.23.4"
ARG GIT_COMMIT="unknown"
ARG BUILD_TIME="unknown"
ARG BUILD_USER="unknown"
diff --git a/scripts/Dockerfile.depot b/scripts/Dockerfile.depot
index 80832b2e45..a813ead491 100644
--- a/scripts/Dockerfile.depot
+++ b/scripts/Dockerfile.depot
@@ -1,10 +1,10 @@
-FROM golang:1.23.2 as backend
+FROM golang:1.23.4 as backend
ADD go.mod go.sum /
RUN go mod download
ARG VERSION="development"
ARG VERSION_SUFFIX=""
-ARG GO_VERSION="1.23.2"
+ARG GO_VERSION="1.23.4"
ARG GIT_COMMIT="unknown"
ARG BUILD_TIME="unknown"
ARG BUILD_USER="unknown"
diff --git a/scripts/Dockerfile.render-demo b/scripts/Dockerfile.render-demo
index 19af187472..5752612fab 100644
--- a/scripts/Dockerfile.render-demo
+++ b/scripts/Dockerfile.render-demo
@@ -16,11 +16,11 @@ COPY . .
ENV BB_GIT_COMMIT_ID_FE="${RENDER_GIT_COMMIT}"
RUN cd frontend && pnpm install --frozen-lockfile && pnpm release-docker
-FROM golang:1.23.2 as backend
+FROM golang:1.23.4 as backend
ADD go.mod go.sum /
RUN go mod download
-ARG GO_VERSION="1.23.2"
+ARG GO_VERSION="1.23.4"
# RENDER_GIT_COMMIT is a render.com provided env var during build.
# https://render.com/docs/environment-variables
ARG RENDER_GIT_COMMIT="unknown"
diff --git a/scripts/build_bytebase.sh b/scripts/build_bytebase.sh
index 854c650f78..88a419d6b8 100755
--- a/scripts/build_bytebase.sh
+++ b/scripts/build_bytebase.sh
@@ -13,7 +13,7 @@ cd "$(dirname "$0")/../"
OUTPUT_DIR=$(mkdir_output "$1")
OUTPUT_BINARY=$OUTPUT_DIR/bytebase
-TARGET_GO_VERSION="1.23.2"
+TARGET_GO_VERSION="1.23.4"
GO_VERSION=`go version | { read _ _ v _; echo ${v#go}; }`
if [ "$(version ${GO_VERSION})" -lt "$(version $TARGET_GO_VERSION)" ];
then