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:]]*/ {