Skip to content

suggestion: when changing path, should file adjust accordingly (?) #13

@LukasGentele

Description

@LukasGentele

Currently, if you want to build a Dockerfile in a subdirectory, you'll have to adjust path and file. However, when changing the context using docker build some/other/context, Docker would also prefer the file some/other/context/Dockerfile according to the context (if not specified otherwise).

Should this action also follow this style and use the Dockerfile within path if not otherwise specified? Would be a breaking change but I think it would be more consistent with the Docker CLI experience.

@jerray Happy to submit a PR if you think this idea makes sense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions