Update regex in GitLab CI template to support more image paths
This commit is contained in:
@@ -59,7 +59,7 @@
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Append :$TAG to all matching GitLab image references
|
# 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"
|
echo "Copying docker-compose.yml to $HOST:$REMOTE_ENV_PATH/docker-compose.yml"
|
||||||
# Ensure remote path exists before scp
|
# Ensure remote path exists before scp
|
||||||
|
|||||||
Reference in New Issue
Block a user