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