Skip to content

Commit bd39059

Browse files
authored
Update Go, Goreleaser, Alpine, ... (#54)
1 parent e7f98a2 commit bd39059

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

Dockerfile-alpine

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3.19
1+
FROM alpine:3.20.2
22
MAINTAINER Yann HAMON <[email protected]>
33
RUN apk add ca-certificates
44
COPY redis-dump-go /

Makefile

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,20 @@ push-image:
3434
docker push ghcr.io/yannh/redis-dump-go:${RELEASE_VERSION}
3535

3636
docker-test:
37-
docker run -t -v $$PWD:/go/src/github.com/yannh/redis-dump-go -w /go/src/github.com/yannh/redis-dump-go golang:1.21 make test
37+
docker run -t -v $$PWD:/go/src/github.com/yannh/redis-dump-go -w /go/src/github.com/yannh/redis-dump-go golang:1.22.5 make test
3838

3939
docker-build-static:
40-
docker run -t -v $$PWD:/go/src/github.com/yannh/redis-dump-go -w /go/src/github.com/yannh/redis-dump-go golang:1.21 make build-static
40+
docker run -t -v $$PWD:/go/src/github.com/yannh/redis-dump-go -w /go/src/github.com/yannh/redis-dump-go golang:1.22.5 make build-static
4141

4242
docker-build-generator-static:
43-
docker run -t -v $$PWD:/go/src/github.com/yannh/redis-dump-go -w /go/src/github.com/yannh/redis-dump-go golang:1.21 make build-generator-static
43+
docker run -t -v $$PWD:/go/src/github.com/yannh/redis-dump-go -w /go/src/github.com/yannh/redis-dump-go golang:1.22.5 make build-generator-static
4444

4545
goreleaser-build-static:
46-
docker run -t -e GOOS=linux -e GOARCH=amd64 -v $$PWD:/go/src/github.com/yannh/redis-dump-go -w /go/src/github.com/yannh/redis-dump-go goreleaser/goreleaser:v1.22.1 build --single-target --skip-post-hooks --rm-dist --snapshot
46+
docker run -t -e GOOS=linux -e GOARCH=amd64 -v $$PWD:/go/src/github.com/yannh/redis-dump-go -w /go/src/github.com/yannh/redis-dump-go goreleaser/goreleaser:v2.1.0 build --single-target --clean --snapshot
4747
cp dist/redis-dump-go_linux_amd64_v1/redis-dump-go bin/
4848

4949
release:
50-
docker run -e GITHUB_TOKEN -e GIT_OWNER -t -v /var/run/docker.sock:/var/run/docker.sock -v $$PWD:/go/src/github.com/yannh/redis-dump-go -w /go/src/github.com/yannh/redis-dump-go goreleaser/goreleaser:v1.22.1 release --rm-dist
50+
docker run -e GITHUB_TOKEN -e GIT_OWNER -t -v /var/run/docker.sock:/var/run/docker.sock -v $$PWD:/go/src/github.com/yannh/redis-dump-go -w /go/src/github.com/yannh/redis-dump-go goreleaser/goreleaser:v1.22.1 release --clean
5151

5252
acceptance-tests: docker-build-static docker-build-generator-static
5353
docker-compose run tests

go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module github.com/yannh/redis-dump-go
22

3-
go 1.21
3+
go 1.22
44

55
require github.com/mediocregopher/radix/v3 v3.8.1
66

7-
require golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
7+
require golang.org/x/xerrors v0.0.0-20240716161551-93cc26a95ae9 // indirect

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN
77
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
88
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
99
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
10-
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 h1:+cNy6SZtPcJQH3LJVLOSmiC7MMxXNOb3PU/VUEz+EhU=
11-
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90=
10+
golang.org/x/xerrors v0.0.0-20240716161551-93cc26a95ae9 h1:LLhsEBxRTBLuKlQxFBYUOU8xyFgXv6cOTp2HASDlsDk=
11+
golang.org/x/xerrors v0.0.0-20240716161551-93cc26a95ae9/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90=

vendor/golang.org/x/xerrors/LICENSE

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ github.com/mediocregopher/radix/v3/internal/bytesutil
55
github.com/mediocregopher/radix/v3/resp
66
github.com/mediocregopher/radix/v3/resp/resp2
77
github.com/mediocregopher/radix/v3/trace
8-
# golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028
8+
# golang.org/x/xerrors v0.0.0-20240716161551-93cc26a95ae9
99
## explicit; go 1.18
1010
golang.org/x/xerrors
1111
golang.org/x/xerrors/internal

0 commit comments

Comments
 (0)