Corrected name for ssk private key file

This commit is contained in:
Marcin-Ramotowski
2025-08-01 00:20:06 +02:00
parent 3fb4ffd621
commit a44bf142ba

View File

@ -136,8 +136,8 @@ spec:
cp /mnt/secrets/gitea-known-host ~/.ssh/known_hosts cp /mnt/secrets/gitea-known-host ~/.ssh/known_hosts
chmod 644 ~/.ssh/known_hosts chmod 644 ~/.ssh/known_hosts
cp /mnt/secrets/gitea-deploy-key ~/.ssh/id_rsa cp /mnt/secrets/gitea-deploy-key > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_rsa chmod 600 ~/.ssh/id_ed25519
git config --global user.name "argo[bot]" git config --global user.name "argo[bot]"
git config --global user.email "argo@marcin00.pl" 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 git clone --depth 1 --branch $DEPLOY_REPO_BRANCH --single-branch $DEPLOY_REPO_URL repo
cd repo cd repo
|
awk -v commit="$CI_COMMIT_SHA" ' awk -v commit="$CI_COMMIT_SHA" '
$0 ~ /name:[[:space:]]*api/ { in_api_container = 1; print; next } $0 ~ /name:[[:space:]]*api/ { in_api_container = 1; print; next }
in_api_container && $0 ~ /^[[:space:]]*image:[[:space:]]*/ { in_api_container && $0 ~ /^[[:space:]]*image:[[:space:]]*/ {