From abd35d4d374466585c07e34cb0740e73df5f855c Mon Sep 17 00:00:00 2001 From: TomSweeneyRedHat Date: Mon, 14 Aug 2023 17:44:54 -0400 Subject: [PATCH] [CI:DOCS] Fix git build example in build page The git repo that was used for the example of a git build: `podman build https://github.com/scollier/purpletest` no longer exists. Someone reached out to @rhatdan about this and he suggested using the Podman Hello World repo. However, that didn't exist until a little bit ago, so I've updated the man page with a pointer there. That should be a lot more stable. [NO NEW TESTS NEEDED] Signed-off-by: TomSweeneyRedHat --- docs/source/markdown/podman-build.1.md.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/source/markdown/podman-build.1.md.in b/docs/source/markdown/podman-build.1.md.in index 75b86e7730..d6ac53d504 100644 --- a/docs/source/markdown/podman-build.1.md.in +++ b/docs/source/markdown/podman-build.1.md.in @@ -1047,7 +1047,8 @@ use it as the context. The Containerfile at the root of the repository is used and it only works if the GitHub repository is a dedicated repository. ``` -$ podman build https://github.com/scollier/purpletest +$ podman build -t hello https://github.com/containers/PodmanHello.git +$ podman run hello ``` Note: Github does not support using `git://` for performing `clone` operation due to recent changes in their security guidance (https://github.blog/2021-09-01-improving-git-protocol-security-github/). Use an `https://` URL if the source repository is hosted on Github.