From 2e30d7d559503cead7725e5072ca9b3b5ecbfbf3 Mon Sep 17 00:00:00 2001
From: Peter Kurfer <peter@icb4dc0.de>
Date: Wed, 12 Feb 2025 16:18:35 +0100
Subject: [PATCH] fix(act): use TARGETARCH to determine argocd version

---
 act_runtime/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/act_runtime/Dockerfile b/act_runtime/Dockerfile
index 35566a1..e674c45 100644
--- a/act_runtime/Dockerfile
+++ b/act_runtime/Dockerfile
@@ -63,7 +63,7 @@ RUN --mount=type=cache,target=/tmp \
     /tmp/aws/install
 
 # ArgoCD CLI
-RUN curl -sSL -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-arm64 && \
+RUN curl -sSL -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-${TARGETARCH} && \
     chmod +x /usr/local/bin/argocd && \
     argocd version --client