Skip to content

Commit 633e6ad

Browse files
committed
Make goreleaser build unpack
Signed-off-by: Brett Tofel <[email protected]>
1 parent 5a79df8 commit 633e6ad

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

.goreleaser.yml

+17-4
Original file line numberDiff line numberDiff line change
@@ -16,37 +16,50 @@ builds:
1616
- arm64
1717
- ppc64le
1818
- s390x
19+
- id: unpack
20+
main: ./cmd/unpack/main.go # Update this path to the actual location of your unpack source
21+
binary: bin/unpack
22+
asmflags: "{{ .Env.GO_BUILD_ASMFLAGS }}"
23+
gcflags: "{{ .Env.GO_BUILD_GCFLAGS }}"
24+
ldflags: "{{ .Env.GO_BUILD_LDFLAGS }}"
25+
goos:
26+
- linux
27+
goarch:
28+
- amd64
29+
- arm64
30+
- ppc64le
31+
- s390x
1932
dockers:
2033
- image_templates:
2134
- "{{ .Env.IMAGE_REPO }}:{{ .Env.IMAGE_TAG }}-amd64"
2235
dockerfile: Dockerfile
2336
goos: linux
2437
goarch: amd64
25-
use: buildx
38+
use: docker
2639
build_flag_templates:
2740
- "--platform=linux/amd64"
2841
- image_templates:
2942
- "{{ .Env.IMAGE_REPO }}:{{ .Env.IMAGE_TAG }}-arm64"
3043
dockerfile: Dockerfile
3144
goos: linux
3245
goarch: arm64
33-
use: buildx
46+
use: docker
3447
build_flag_templates:
3548
- "--platform=linux/arm64"
3649
- image_templates:
3750
- "{{ .Env.IMAGE_REPO }}:{{ .Env.IMAGE_TAG }}-ppc64le"
3851
dockerfile: Dockerfile
3952
goos: linux
4053
goarch: ppc64le
41-
use: buildx
54+
use: docker
4255
build_flag_templates:
4356
- "--platform=linux/ppc64le"
4457
- image_templates:
4558
- "{{ .Env.IMAGE_REPO }}:{{ .Env.IMAGE_TAG }}-s390x"
4659
dockerfile: Dockerfile
4760
goos: linux
4861
goarch: s390x
49-
use: buildx
62+
use: docker
5063
build_flag_templates:
5164
- "--platform=linux/s390x"
5265
docker_manifests:

0 commit comments

Comments
 (0)