From f8f88f42f4719a5745be5f016748d74365cf2a84 Mon Sep 17 00:00:00 2001 From: Thatsaphorn Atchariyaphap Date: Sat, 7 Jun 2025 19:09:39 +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 52dc654..7c3c33c 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/[a-zA-Z0-9\-_/]+)|\1:$TAG|g" docker-compose.yml + sed -i -E "s|(image:\s+registry\.boomlab\.party/[a-zA-Z0-9._/-]+)(\s*)|\1:$TAG\2|g" docker-compose.yml echo "Copying docker-compose.yml to $HOST:$REMOTE_ENV_PATH/docker-compose.yml" # Ensure remote path exists before scp