Skip to content

Commit 7e66923

Browse files
authored
build: Go 1.25 (#1897)
Towards #1895. Go 1.25, released in mid August, has better support for symbolic links.
1 parent 38e58ca commit 7e66923

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM golang:1.24.4 AS build
15+
FROM golang:1.25.0 AS build
1616

1717
WORKDIR /src
1818

@@ -28,7 +28,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build ./cmd/librarian
2828
# while in Docker. Note that for this to work, *this*
2929
# docker image should be run with
3030
# -v /var/run/docker.sock:/var/run/docker.sock
31-
FROM golang:1.24.4
31+
FROM golang:1.25.0
3232
WORKDIR /app
3333

3434
# From https://docs.docker.com/engine/install/debian/

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/googleapis/librarian
22

3-
go 1.24.4
3+
go 1.25.0
44

55
require (
66
cloud.google.com/go/cloudbuild v1.22.3

infra/prod/generate-worker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# This runs the `librarian generate` command with a provided repository,
1616
# secret name, and optional library ID
1717
steps:
18-
- name: golang:1.24.4
18+
- name: golang:1.25.0
1919
id: generate-dispatcher
2020
entrypoint: go
2121
args:

infra/prod/publish-release-worker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# This runs the `librarian release tag-and-release` command with a provided repository,
1616
# secret name, and optional PR
1717
steps:
18-
- name: golang:1.24.4
18+
- name: golang:1.25.0
1919
id: publish-release-dispatcher
2020
entrypoint: go
2121
args:

infra/prod/stage-release-worker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# This runs the `librarian release init` command with a provided repository,
1616
# secret name, and optional library ID
1717
steps:
18-
- name: golang:1.24.4
18+
- name: golang:1.25.0
1919
id: stage-release-dispatcher
2020
entrypoint: go
2121
args:

testdata/e2e-test.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
# Start with a Go base image
16-
FROM golang:1.24.5 AS builder
16+
FROM golang:1.25.0 AS builder
1717

1818
WORKDIR /app
1919

0 commit comments

Comments
 (0)