Update regex in GitLab CI template to support more image paths
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user