Skip to content

Commit 4ed0ca4

Browse files
rgmzmicheltuuJiri-Stary
authored
build: upgrade Go & alpine version (gitleaks#1989)
Co-authored-by: Michel Tu <[email protected]> Co-authored-by: Jiri Stary <[email protected]>
1 parent fb5d707 commit 4ed0ca4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up Go
2121
uses: actions/setup-go@v2
2222
with:
23-
go-version: 1.23
23+
go-version: 1.25
2424

2525
- name: Build
2626
run: go build ./...

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM golang:1.23 AS build
1+
FROM golang:1.25 AS build
22
WORKDIR /go/src/github.com/zricethezav/gitleaks
33
COPY . .
44
RUN VERSION=$(git describe --tags --abbrev=0) && \
55
CGO_ENABLED=0 go build -o bin/gitleaks -ldflags "-X=github.com/zricethezav/gitleaks/v8/version.Version=${VERSION}"
66

7-
FROM alpine:3.19
7+
FROM alpine:3.22
88
RUN apk add --no-cache bash git openssh-client
99
COPY --from=build /go/src/github.com/zricethezav/gitleaks/bin/* /usr/bin/
1010

go.mod

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

3-
go 1.23.8
3+
go 1.25.4
44

55
require (
66
github.com/BobuSumisu/aho-corasick v1.0.3

0 commit comments

Comments
 (0)