Skip to content

Commit

Permalink
go releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
yairsimantov20 committed Dec 27, 2023
1 parent 1c582df commit c9c623d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,24 @@ before:
hooks:
- go mod tidy
builds:
- env:
- id: linux-build
env:
- CGO_ENABLED=1
binary: "{{ .ProjectName }}"
goos:
- linux
goarch:
- amd64
- arm64
- id: darwin-build
env:
- CGO_ENABLED=1
- CC=/home/runner/work/osxcross/target/bin/o64-clang
- CXX=/home/runner/work/osxcross/target/bin/o64-clang++
goos:
- darwin
ignore:
- goos: darwin
goarch: 386
dockers:
- image_templates:
- "{{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:{{ .Version }}-amd64"
Expand Down

0 comments on commit c9c623d

Please sign in to comment.