fix(ci): yq arm64 binary for deploy-gitops on Apple Silicon VM

This commit is contained in:
sova-ci
2026-05-28 11:01:12 +03:00
parent 9cc118946c
commit 29ec55316b
+6 -1
View File
@@ -84,7 +84,12 @@ jobs:
git config user.email "ci-bot@sova.local"
git config user.name "sova-ci"
MAX_RETRIES=5
curl -sSL -o /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/v4.44.3/yq_linux_amd64
case "$(uname -m)" in
x86_64|amd64) YQ_ARCH=amd64 ;;
aarch64|arm64) YQ_ARCH=arm64 ;;
*) echo "Unsupported arch: $(uname -m)"; exit 1 ;;
esac
curl -sSL -o /usr/local/bin/yq "https://github.com/mikefarah/yq/releases/download/v4.44.3/yq_linux_${YQ_ARCH}"
chmod +x /usr/local/bin/yq
for attempt in $(seq 1 $MAX_RETRIES); do
git pull --rebase "${REPO_URL}" main