From 5680997d7d26d096d4bf93b10bfbece859774df9 Mon Sep 17 00:00:00 2001 From: Thatsaphorn Atchariyaphap Date: Sat, 7 Jun 2025 18:53:36 +0200 Subject: [PATCH] Update regex in GitLab CI template to support more image paths --- .gitlab-ci-template.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci-template.yml b/.gitlab-ci-template.yml index dc23eaa..52dc654 100644 --- a/.gitlab-ci-template.yml +++ b/.gitlab-ci-template.yml @@ -59,7 +59,7 @@ fi # Append :$TAG to all matching GitLab image references - sed -i -E "s|(image:\s+registry\.boomlab\.party/[^\s:@]+)|\1:$TAG|g" docker-compose.yml + sed -i -E "s|(image:\s+registry\.boomlab\.party/[a-zA-Z0-9\-_/]+)|\1:$TAG|g" docker-compose.yml echo "Copying docker-compose.yml to $HOST:$REMOTE_ENV_PATH/docker-compose.yml" # Ensure remote path exists before scp