Skip to content

Commit 69eec07

Browse files
authored
add back support for mac binaries for arm/amd (#168)
Signed-off-by: Adam D. Cornett <[email protected]>
1 parent f2462a8 commit 69eec07

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.goreleaser.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ before:
33
- go mod tidy
44
- go mod download
55
builds:
6-
- id: binary
6+
- id: linux-binary
77
main: ./cmd/ansible-operator/
88
binary: ansible-operator
99
asmflags: "{{ .Env.GO_BUILD_ASMFLAGS }}"
@@ -17,6 +17,18 @@ builds:
1717
- arm64
1818
- ppc64le
1919
- s390x
20+
- id: darwin-binary
21+
main: ./cmd/ansible-operator/
22+
binary: ansible-operator
23+
asmflags: "{{ .Env.GO_BUILD_ASMFLAGS }}"
24+
gcflags: "{{ .Env.GO_BUILD_GCFLAGS }}"
25+
ldflags: "{{ .Env.GO_BUILD_LDFLAGS }}"
26+
mod_timestamp: "{{ .CommitTimestamp }}"
27+
goos:
28+
- darwin
29+
goarch:
30+
- amd64
31+
- arm64
2032
dockers:
2133
- image_templates:
2234
- "{{ .Env.IMAGE_REPO }}:{{ .Env.IMAGE_TAG }}-amd64"

0 commit comments

Comments
 (0)