From 5b38143785f00bdca97740320ff2b053dcbb2589 Mon Sep 17 00:00:00 2001 From: Neel Dalsania <92356010+neel-astro@users.noreply.github.com> Date: Thu, 16 Dec 2021 23:41:08 +0530 Subject: [PATCH] added mod flag to pick dependency from vendor (#465) --- .goreleaser.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 3d48fcce7..da4117333 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -21,6 +21,8 @@ build: - amd64 goarm: - 7 + flags: + - -mod=vendor ldflags: -s -w -X github.com/astronomer/astro-cli/version.CurrVersion={{ .Version }} -X github.com/astronomer/astro-cli/version.CurrCommit={{ .Commit }} tags: - containers_image_openpgp