Skip to content

Commit 71c6eff

Browse files
authored
Merge pull request #61 from bitnami/bump-go-version
Update Go version to 1.24
2 parents b2f971b + 7f8bf7b commit 71c6eff

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
2929
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
3030
with:
31-
go-version: '^1.22.4' # The Go version to download (if necessary) and use.
31+
go-version: '^1.24.4' # The Go version to download (if necessary) and use.
3232
- name: Install Build Dependencies
3333
run: make get-build-deps
3434
- name: Download required modules

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# docker run --rm -it -v /tmp:/tmp bitnami/ini-file del -k "title" -s "My book" /tmp/my.ini
66
#
77

8-
FROM golang:1.22-bullseye as build
8+
FROM golang:1.24-bookworm as build
99

1010
RUN apt-get update && apt-get install -y --no-install-recommends \
1111
git make upx \
@@ -20,7 +20,7 @@ RUN make
2020

2121
RUN upx --ultra-brute out/ini-file
2222

23-
FROM bitnami/minideb:bullseye
23+
FROM bitnami/minideb:bookworm
2424

2525
COPY --from=build /go/src/app/out/ini-file /usr/local/bin/
2626

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/bitnami/ini-file
22

3-
go 1.22
3+
go 1.24
44

55
require (
66
github.com/bitnami/gonit v0.2.0
@@ -13,5 +13,5 @@ require (
1313
require (
1414
github.com/davecgh/go-spew v1.1.1 // indirect
1515
github.com/pmezard/go-difflib v1.0.0 // indirect
16-
golang.org/x/sys v0.21.0 // indirect
16+
golang.org/x/sys v0.33.0 // indirect
1717
)

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
1212
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
1313
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
1414
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
15-
golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws=
16-
golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
15+
golang.org/x/sys v0.33.0 h1:q3i8TbbEz+JRD9ywIRlyRAQbM0qF7hu24q3teo2hbuw=
16+
golang.org/x/sys v0.33.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type Options struct {
1515
var globalOpts = &Options{}
1616

1717
var (
18-
version = "1.4.7"
18+
version = "1.4.8"
1919
buildDate = ""
2020
commit = ""
2121
)

0 commit comments

Comments
 (0)