mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-03-22 02:29:08 +00:00
* `podman_image`: correct `path` parameter description The `path` parameter is the last parameter when running `podman build ...`. As specified in the manpage, it is defined as the build context, and not necessarily should it contain the Containerfile. Signed-off-by: Yuriy Gabuev <yuriy.gabuev@holoplot.com> * `podman_image`: add `file` parameter for Containerfile location Add the `file` parameter to `podman_image` module which mirrors the `--file` command line argument for `podman build ...`. This parameter specifies the location of the Containerfile to use in case it should be different from the one contained in the build context directory. Signed-off-by: Yuriy Gabuev <yuriy.gabuev@holoplot.com> * `podman_image`: add integration tests for `file` parameter Add tests to ensure that: - building from a directory without a Containerfile (or Dockerfile) fails - specifying the location of Containerfile with `file` parameter works Signed-off-by: Yuriy Gabuev <yuriy.gabuev@holoplot.com> Signed-off-by: Yuriy Gabuev <yuriy.gabuev@holoplot.com> |
||
|---|---|---|
| .. | ||
| main.yml | ||