Skip to content

Commit 74f0780

Browse files
authored
feat: Bump Go version to 1.25 (#63)
Signed-off-by: juan131 <[email protected]>
1 parent 941fd47 commit 74f0780

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
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.24.4' # The Go version to download (if necessary) and use.
31+
go-version: '^1.25' # 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: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +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.24-bookworm as build
9-
10-
RUN apt-get update && apt-get install -y --no-install-recommends \
11-
git make upx \
12-
&& rm -rf /var/lib/apt/lists/*
8+
FROM bitnami/golang:1.25 as build
139

1410
WORKDIR /go/src/app
1511
COPY . .
@@ -18,8 +14,6 @@ RUN rm -rf out
1814

1915
RUN make
2016

21-
RUN upx --ultra-brute out/ini-file
22-
2317
FROM bitnami/minideb:bookworm
2418

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

go.mod

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

3-
go 1.24
3+
go 1.25
44

55
require (
66
github.com/bitnami/gonit v0.2.0

0 commit comments

Comments
 (0)