Skip to content

Bug when pushing stages if docker-compose file specifies two (or more!) images #87

Closed
@silky

Description

This is the bug:

image

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"

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions