Small service names fix
This commit is contained in:
@@ -136,8 +136,9 @@ for container_path in ${CONTAINER_PATHS[@]}; do
|
|||||||
ok "$container_name" "is up to date!"
|
ok "$container_name" "is up to date!"
|
||||||
else
|
else
|
||||||
warn "$container_name" "is out of date!"
|
warn "$container_name" "is out of date!"
|
||||||
service=$(cat "$container_path/docker-compose.yml" | grep -B1 "$container_image" | head -1 | sed -e 's/^[ \t]*//' -e 's/://g')
|
debug "cat \"$container_path/docker-compose.yml\" | grep -B1 "image: $container_image" | head -1 | sed -e 's/^[ \t]*//' -e 's/://g'"
|
||||||
info "Attempting to update" "$container_name"
|
service=$(cat "$container_path/docker-compose.yml" | grep -B1 "image: $container_image" | head -1 | sed -e 's/^[ \t]*//' -e 's/://g')
|
||||||
|
info "Attempting to update service" "$service"
|
||||||
if docker-compose pull $service; then
|
if docker-compose pull $service; then
|
||||||
info "Pulled latest image for" "$container_name"
|
info "Pulled latest image for" "$container_name"
|
||||||
if docker-compose up -d --remove-orphans; then
|
if docker-compose up -d --remove-orphans; then
|
||||||
|
|||||||
Reference in New Issue
Block a user