diff --git a/contrib/opbot/.goreleaser.yml b/contrib/opbot/.goreleaser.yml index 69abdb9c18..d12cf96884 100644 --- a/contrib/opbot/.goreleaser.yml +++ b/contrib/opbot/.goreleaser.yml @@ -12,7 +12,7 @@ builds: # We need to build a static binary because we are building in a glibc based system and running in a musl container - -s -w -extldflags '-static' -X github.com/synapsecns/sanguine/core/config.DefaultVersion={{.Version}} -X github.com/synapsecns/sanguine/core/config.DefaultCommit={{.Commit}} -X github.com/synapsecns/sanguine/core/config.DefaultDate={{ .CommitDate }} gcflags: - - -dwarflocationlists=true + - all=-dwarflocationlists=true # required workaround for https://github.com/Shopify/sarama/issues/2206 # See: https://github.com/golang/go/issues/35067#issuecomment-544805311 because we're statically compiling, # without forcing netgo, we use the cgo resolver which will not work for .local (a canonical tld in kubernetes)