deployment: On nightly, don't change tag of some images

pull/678/head
cruizba 2021-12-17 10:27:03 +01:00
parent 581aad38d5
commit 3886cf1b45
1 changed files with 2 additions and 0 deletions

View File

@ -79,6 +79,8 @@ Resources:
pushd openvidu
# docker-compose.yml replace with master version
IMAGES="$(cat docker-compose.yml | grep 'image: openvidu/' | cut -d':' -f2 | sed -e 's/^[[:space:]]*//')"
# Ignore elasticsearch image to change tag
IMAGES=$(echo "$IMAGES" | grep -v openvidu/openvidu-elasticsearch)
for IMG in $IMAGES
do
sed -i "s|$IMG.*|$IMG:master|g" docker-compose.yml