Skip to content

Commit 43c0638

Browse files
committedFeb 25, 2025·
Fix builds for arm
1 parent 6b2f2dd commit 43c0638

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed
 

‎.goreleaser.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ builds:
1616
- linux
1717
- windows
1818
- darwin
19+
goarch:
20+
- '386'
21+
- amd64
22+
- arm
23+
- arm64
24+
goarm:
25+
- '7'
1926
goamd64:
2027
- v3
2128
ldflags:

‎CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@ All notable changes to this project will be documented in this file.
66

77
## [Unreleased]
88

9-
## [0.8.0] - 2025-02-22
9+
## [0.8.1] - 2025-02-24
10+
11+
### Changed
12+
13+
- Docker containers & releases now properly build ARM (32-bit) images with v7 (not v6) support
14+
15+
## [0.8.0] - 2025-02-24
1016

1117
### Added
1218

‎Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ RUN git describe --tags --always
2525
# Run goreleaser
2626
RUN --mount=type=cache,target=/root/.cache/go-build \
2727
--mount=type=cache,target=/go/pkg \
28-
GOOS=$TARGETOS GOARCH=$TARGETARCH GOAMD64=v3 \
28+
GOOS=$TARGETOS GOARCH=$TARGETARCH GOAMD64=v3 GOARM=7 \
2929
goreleaser build --single-target --id rwp --skip=validate $(case "$NO_SNAPSHOT" in yes|true|1) ;; *) echo "--snapshot";; esac) --output ./rwp
3030

3131
# Run tests

0 commit comments

Comments
 (0)
Please sign in to comment.