Merge pull request #21612 from giuseppe/clarify-git-url

docs: clarify when a URL is treated as a git repo
This commit is contained in:
openshift-merge-bot[bot]
2024-02-12 21:33:11 +00:00
committed by GitHub

View File

@ -35,7 +35,8 @@ When the URL is a Containerfile, the Containerfile is downloaded to a temporary
location.
When a Git repository is set as the URL, the repository is cloned locally and
then set as the context.
then set as the context. A URL is treated as a Git repository if it
has a `git://` prefix or a `.git` suffix.
NOTE: `podman build` uses code sourced from the `Buildah` project to build
container images. This `Buildah` code creates `Buildah` containers for the