Bug when pushing stages if docker-compose file specifies two (or more!) images #87
Closed
Description
This is the bug:
If I was to guess, it's because in a few places in entrypoint.sh you expect only one image:
entrypoint.sh
60: mapfile -t images < <(grep -Po "(?<=_image=\")${INPUT_USERNAME}/[^\"]+" "$parsed_yaml")
62: mapfile -t images < <(grep -Po "(?<=_image=\")${INPUT_REGISTRY}/[^\"]+" "$parsed_yaml")
95: grep -Po "(?<=services_)[^_]+(?=.+$image_name.+)" "$parsed_yaml"
101: grep -Po "(?<=services_${service_name}_build_context=\")[^\"]+" "$parsed_yaml"
107: grep -Po "(?<=services_${service_name}_build_dockerfile=\")[^\"]+" "$parsed_yaml"