From c94d031f0bc66747e9f7e903a4caf51e33fc6389 Mon Sep 17 00:00:00 2001 From: jedarden Date: Thu, 2 Jul 2026 08:34:40 -0400 Subject: [PATCH] fix: explicitly set PATH for cargo in build-binaries step - Added export PATH=/usr/local/cargo/bin:$PATH to ensure cargo is found - Fixes exit code 127 (command not found) in build-binaries step --- k8s/argo-workflows/miroir-release.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/k8s/argo-workflows/miroir-release.yaml b/k8s/argo-workflows/miroir-release.yaml index f198169..29f1588 100644 --- a/k8s/argo-workflows/miroir-release.yaml +++ b/k8s/argo-workflows/miroir-release.yaml @@ -101,6 +101,9 @@ spec: set -e TAG="{{inputs.parameters.tag}}" + # Ensure PATH includes cargo + export PATH="/usr/local/cargo/bin:$PATH" + # Clone the repo at the tag to workspace for sharing with later steps git clone --depth 1 --branch "$TAG" https://github.com/jedarden/miroir.git /workspace/src cd /workspace/src