From 2b50f528f3efe8ab6b89fa068d70e4cb81e65b56 Mon Sep 17 00:00:00 2001 From: Agent Zero Date: Mon, 3 Aug 2026 00:47:30 +0200 Subject: [PATCH] Fix deploy.py: head -1 statt tail -1 fuer Image-Tag (neuestes Image zuerst) --- scripts/deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy.py b/scripts/deploy.py index 216f73f..24c8ebd 100644 --- a/scripts/deploy.py +++ b/scripts/deploy.py @@ -283,7 +283,7 @@ def deploy_worker(client: CoolifyClient, skip_build: bool = False) -> StepResult print(" Tagging latest API image as :latest...") tag_code, tag_output = ssh_run( 'docker images --format "{{.Repository}}:{{.Tag}}" | ' - 'grep "^stvabl4vaqru7jclx4ittzr3:" | grep -v latest | tail -1 | ' + 'grep "^stvabl4vaqru7jclx4ittzr3:" | grep -v latest | head -1 | ' 'xargs -I{} docker tag {} stvabl4vaqru7jclx4ittzr3:latest' ) if tag_code != 0: