From 32cca1215ab4f73afc473dce3148422d769311f7 Mon Sep 17 00:00:00 2001 From: divolgin Date: Mon, 12 Apr 2021 16:34:53 +0000 Subject: [PATCH] fix go-releaser build --- deploy/.goreleaser.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/.goreleaser.yaml b/deploy/.goreleaser.yaml index 8ad31fc6..f33b565e 100644 --- a/deploy/.goreleaser.yaml +++ b/deploy/.goreleaser.yaml @@ -31,7 +31,7 @@ builds: -X github.com/replicatedhq/troubleshoot/pkg/version.gitSHA={{.Commit}} -X github.com/replicatedhq/troubleshoot/pkg/version.buildTime={{.Date}} -extldflags "-static" - flags: -tags netgo -installsuffix netgo + flags: -tags netgo -tags containers_image_ostree_stub -tags exclude_graphdriver_devicemapper -tags exclude_graphdriver_btrfs -tags containers_image_openpgp -installsuffix netgo binary: preflight hooks: {} - id: support-bundle @@ -49,7 +49,7 @@ builds: -X github.com/replicatedhq/troubleshoot/pkg/version.gitSHA={{.Commit}} -X github.com/replicatedhq/troubleshoot/pkg/version.buildTime={{.Date}} -extldflags "-static" - flags: -tags netgo -installsuffix netgo + flags: -tags netgo -tags containers_image_ostree_stub -tags exclude_graphdriver_devicemapper -tags exclude_graphdriver_btrfs -tags containers_image_openpgp -installsuffix netgo binary: support-bundle hooks: {} archives: