From e8d262f45c9c97a1707abec9e81d37a1ceda5614 Mon Sep 17 00:00:00 2001 From: Kian Parvin Date: Wed, 3 Jul 2024 09:47:03 +0200 Subject: [PATCH] Use static bin in snap --- snap/snapcraft.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 789595b1..9f919abf 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -20,6 +20,8 @@ apps: parts: yq: plugin: go + build-environment: + - CGO_ENABLED: 0 source: https://github.com/mikefarah/yq.git source-tag: v4.44.2 build-snaps: