Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore(deps): update golang docker tag to v1.23.2 (#13991)
renovate[bot]d955c2f6ac75
diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.ymlindex 985c99da3f..e4f1b4536e 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@v5with:- go-version: 1.23.0+ go-version: 1.23.2cache: false- name: Verify go.mod is tidyrun: |diff --git a/.github/workflows/test_link.yml b/.github/workflows/test_link.ymlindex 9b54f0698c..dae1f6b25c 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@v5with:- go-version: 1.23.0+ go-version: 1.23.2cache: false- name: Validate linksrun: go test -timeout 600s -v ./scripts/... | tee test.log; exit ${PIPESTATUS[0]}diff --git a/README.md b/README.mdindex f60661e063..b7a273065b 100644--- a/README.md+++ b/README.md@@ -255,7 +255,7 @@ Below diagram describes a typical mapping between an engineering org and the cor### Prerequisites-- [Go](https://golang.org/doc/install) (1.23.0 or later)+- [Go](https://golang.org/doc/install) (1.23.2 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.```bashdiff --git a/go.mod b/go.modindex da20eca0a7..693ee21f44 100644--- a/go.mod+++ b/go.mod@@ -1,6 +1,6 @@module github.com/bytebase/bytebase-go 1.23.0+go 1.23.2require (cloud.google.com/go/bigquery v1.63.1diff --git a/scripts/Dockerfile b/scripts/Dockerfileindex e350761cb1..4ae9c425c6 100644--- a/scripts/Dockerfile+++ b/scripts/Dockerfile@@ -18,14 +18,14 @@ COPY . .RUN pnpm --dir frontend install --frozen-lockfileRUN pnpm --dir frontend release-docker-FROM golang:1.23.0 as backend+FROM golang:1.23.2 as backendADD go.mod go.sum /RUN go mod downloadARG TARGETARCHARG VERSION="development"ARG VERSION_SUFFIX=""-ARG GO_VERSION="1.23.0"+ARG GO_VERSION="1.23.2"ARG GIT_COMMIT="unknown"ARG BUILD_TIME="unknown"ARG BUILD_USER="unknown"diff --git a/scripts/Dockerfile.aws b/scripts/Dockerfile.awsindex 5a85d13f50..db4b8e55e7 100644--- a/scripts/Dockerfile.aws+++ b/scripts/Dockerfile.aws@@ -18,14 +18,14 @@ COPY . .RUN pnpm --dir frontend install --frozen-lockfileRUN pnpm --dir frontend release-aws-FROM golang:1.23.0 as backend+FROM golang:1.23.2 as backendADD go.mod go.sum /RUN go mod downloadARG TARGETARCHARG VERSION="development"ARG VERSION_SUFFIX=""-ARG GO_VERSION="1.23.0"+ARG GO_VERSION="1.23.2"ARG GIT_COMMIT="unknown"ARG BUILD_TIME="unknown"ARG BUILD_USER="unknown"diff --git a/scripts/Dockerfile.depot b/scripts/Dockerfile.depotindex d9d9b1b502..a8150aeea3 100644--- a/scripts/Dockerfile.depot+++ b/scripts/Dockerfile.depot@@ -1,10 +1,10 @@-FROM golang:1.23.0 as backend+FROM golang:1.23.2 as backendADD go.mod go.sum /RUN go mod downloadARG VERSION="development"ARG VERSION_SUFFIX=""-ARG GO_VERSION="1.23.0"+ARG GO_VERSION="1.23.2"ARG GIT_COMMIT="unknown"ARG BUILD_TIME="unknown"ARG BUILD_USER="unknown"diff --git a/scripts/Dockerfile.render-demo b/scripts/Dockerfile.render-demoindex 8c4655b6be..2345e5240b 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.0 as backend+FROM golang:1.23.2 as backendADD go.mod go.sum /RUN go mod download-ARG GO_VERSION="1.23.0"+ARG GO_VERSION="1.23.2"# RENDER_GIT_COMMIT is a render.com provided env var during build.# https://render.com/docs/environment-variablesARG RENDER_GIT_COMMIT="unknown"diff --git a/scripts/build_bytebase.sh b/scripts/build_bytebase.shindex b033a80afe..854c650f78 100755--- a/scripts/build_bytebase.sh+++ b/scripts/build_bytebase.sh@@ -13,10 +13,11 @@ cd "$(dirname "$0")/../"OUTPUT_DIR=$(mkdir_output "$1")OUTPUT_BINARY=$OUTPUT_DIR/bytebase+TARGET_GO_VERSION="1.23.2"GO_VERSION=`go version | { read _ _ v _; echo ${v#go}; }`-if [ "$(version ${GO_VERSION})" -lt "$(version 1.23.0)" ];+if [ "$(version ${GO_VERSION})" -lt "$(version $TARGET_GO_VERSION)" ];then- echo "${RED}Precheck failed.${NC} Require go version >= 1.23.0. Current version ${GO_VERSION}."; exit 1;+ echo "${RED}Precheck failed.${NC} Require go version >= $TARGET_GO_VERSION. Current version ${GO_VERSION}."; exit 1;fiNODE_VERSION=`node -v | { read v; echo ${v#v}; }`