diff --git a/.goreleaser.yaml b/.goreleaser.yaml index d196c435..7d80bb45 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -22,7 +22,7 @@ env: - cosign_version=v2.2.3+carbide.3 builds: - - main: cmd/hauler/main.go + - dir: ./cmd/hauler/. goos: - linux - darwin @@ -39,6 +39,7 @@ builds: - rm -rf cmd/hauler/binaries env: - CGO_ENABLED=0 + - GOEXPERIMENT=boringcrypto universal_binaries: - replace: false diff --git a/cmd/hauler/boringcrypto.go b/cmd/hauler/boringcrypto.go new file mode 100644 index 00000000..71e87f36 --- /dev/null +++ b/cmd/hauler/boringcrypto.go @@ -0,0 +1,6 @@ +//go:build boringcrypto +// +build boringcrypto + +package main + +import _ "crypto/tls/fipsonly"