fix(act): use TARGETARCH to determine argocd version

This commit is contained in:
Peter 2025-02-12 16:18:35 +01:00
parent cba9044ff4
commit 2e30d7d559
Signed by: prskr
GPG key ID: F56BED6903BC5E37

View file

@ -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