From a44bf142ba25721a75acd98805d4a1976167604a Mon Sep 17 00:00:00 2001 From: Marcin-Ramotowski Date: Fri, 1 Aug 2025 00:20:06 +0200 Subject: [PATCH] Corrected name for ssk private key file --- argo-workflows/build.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/argo-workflows/build.yaml b/argo-workflows/build.yaml index 7d071fc..3bf2a6b 100644 --- a/argo-workflows/build.yaml +++ b/argo-workflows/build.yaml @@ -136,8 +136,8 @@ spec: cp /mnt/secrets/gitea-known-host ~/.ssh/known_hosts chmod 644 ~/.ssh/known_hosts - cp /mnt/secrets/gitea-deploy-key ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa + cp /mnt/secrets/gitea-deploy-key > ~/.ssh/id_ed25519 + chmod 600 ~/.ssh/id_ed25519 git config --global user.name "argo[bot]" git config --global user.email "argo@marcin00.pl" @@ -145,7 +145,6 @@ spec: git clone --depth 1 --branch $DEPLOY_REPO_BRANCH --single-branch $DEPLOY_REPO_URL repo cd repo - | awk -v commit="$CI_COMMIT_SHA" ' $0 ~ /name:[[:space:]]*api/ { in_api_container = 1; print; next } in_api_container && $0 ~ /^[[:space:]]*image:[[:space:]]*/ {