Skip to content

Commit a16efa2

Browse files
authored
Merge pull request #24 from cloudbees-io/CBP-18851
CBP-18851: Upgrade go version to resolve CVE-2025-4674
2 parents 0538f09 + 2960a9e commit a16efa2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.cloudbees/workflows/workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: https://github.com/cloudbees-io/checkout@v1
1919

2020
- name: Self Test
21-
uses: docker://golang:1.24.4
21+
uses: docker://golang:1.24.6
2222
run: |
2323
make verify
2424
@@ -113,7 +113,7 @@ jobs:
113113
- uses: ./.cloudbees/testing
114114
with:
115115
repositories: calculi-corp/*
116-
- uses: docker://golang:1.24.4
116+
- uses: docker://golang:1.24.6
117117
run: |
118118
mkdir test
119119
cd test

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM alpine:3.20.6 AS certs
22

33
RUN apk add -U --no-cache ca-certificates
44

5-
FROM golang:1.24.4-alpine3.22 AS build
5+
FROM golang:1.24.6-alpine3.22 AS build
66

77
WORKDIR /work
88

@@ -16,7 +16,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -a -tags netgo -ldflags '-w -extldflags "-
1616

1717
## Add a secondary target that allows testing locally under similar conditions without modifying your local gitconfig
1818

19-
FROM golang:1.24.4 AS testing
19+
FROM golang:1.24.6 AS testing
2020

2121
COPY --from=build /build-out/* /usr/local/bin/
2222

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/cloudbees-io/configure-git-global-credentials
22

3-
go 1.24.4
3+
go 1.24.6
44

55
require (
66
github.com/go-git/go-git/v5 v5.16.2

0 commit comments

Comments
 (0)