[action] replace goreleaser complicated build targets with 'targets'
This commit is contained in:
parent
12b32b0a90
commit
5c71e8a0ee
1 changed files with 20 additions and 38 deletions
|
@ -32,25 +32,16 @@ builds:
|
||||||
id: step-cloudkms-init
|
id: step-cloudkms-init
|
||||||
env:
|
env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
goos:
|
targets:
|
||||||
- linux
|
- darwin_amd64
|
||||||
- darwin
|
- darwin_arm64
|
||||||
- windows
|
- freebsd_amd64
|
||||||
goarch:
|
- linux_386
|
||||||
- amd64
|
- linux_amd64
|
||||||
- arm
|
- linux_arm64
|
||||||
- arm64
|
- linux_arm_6
|
||||||
- 386
|
- linux_arm_7
|
||||||
goarm:
|
- windows_amd64
|
||||||
- 6
|
|
||||||
- 7
|
|
||||||
ignore:
|
|
||||||
- goos: windows
|
|
||||||
goarch: 386
|
|
||||||
- goos: windows
|
|
||||||
goarm: 6
|
|
||||||
- goos: windows
|
|
||||||
goarm: 7
|
|
||||||
flags:
|
flags:
|
||||||
- -trimpath
|
- -trimpath
|
||||||
main: ./cmd/step-cloudkms-init/main.go
|
main: ./cmd/step-cloudkms-init/main.go
|
||||||
|
@ -61,25 +52,16 @@ builds:
|
||||||
id: step-awskms-init
|
id: step-awskms-init
|
||||||
env:
|
env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
goos:
|
targets:
|
||||||
- linux
|
- darwin_amd64
|
||||||
- darwin
|
- darwin_arm64
|
||||||
- windows
|
- freebsd_amd64
|
||||||
goarch:
|
- linux_386
|
||||||
- amd64
|
- linux_amd64
|
||||||
- arm
|
- linux_arm64
|
||||||
- arm64
|
- linux_arm_6
|
||||||
- 386
|
- linux_arm_7
|
||||||
goarm:
|
- windows_amd64
|
||||||
- 6
|
|
||||||
- 7
|
|
||||||
ignore:
|
|
||||||
- goos: windows
|
|
||||||
goarch: 386
|
|
||||||
- goos: windows
|
|
||||||
goarm: 6
|
|
||||||
- goos: windows
|
|
||||||
goarm: 7
|
|
||||||
flags:
|
flags:
|
||||||
- -trimpath
|
- -trimpath
|
||||||
main: ./cmd/step-awskms-init/main.go
|
main: ./cmd/step-awskms-init/main.go
|
||||||
|
|
Loading…
Add table
Reference in a new issue