Fix deploy.py: head -1 statt tail -1 fuer Image-Tag (neuestes Image zuerst)
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user