diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-08-11 19:58:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-11 19:58:10 +0000 |
commit | 432b025b2d0b42a4f3a5315343b125ff18b3e6d0 (patch) | |
tree | 165b5e58ec0c71715b97cb10263019eb16985144 /docs | |
parent | 57387da27e43e7bd7973d91975b10a66aff134e8 (diff) | |
parent | e2a3f9592b844aacb18a9ed2a0e48ba83ba2739f (diff) | |
download | podman-432b025b2d0b42a4f3a5315343b125ff18b3e6d0.tar.gz podman-432b025b2d0b42a4f3a5315343b125ff18b3e6d0.tar.bz2 podman-432b025b2d0b42a4f3a5315343b125ff18b3e6d0.zip |
Merge pull request #15289 from flouthoc/update-build-docs
[CI:DOCS] docs: specify `git` protocol is not supported for github hosted repo
Diffstat (limited to 'docs')
-rw-r--r-- | docs/source/markdown/podman-build.1.md.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/source/markdown/podman-build.1.md.in b/docs/source/markdown/podman-build.1.md.in index 626a9db3b..c0cf08f3c 100644 --- a/docs/source/markdown/podman-build.1.md.in +++ b/docs/source/markdown/podman-build.1.md.in @@ -988,9 +988,11 @@ use it as the context. The Containerfile at the root of the repository will be used and it only works if the GitHub repository is a dedicated repository. ``` -$ podman build git://github.com/scollier/purpletest +$ podman build https://github.com/scollier/purpletest ``` + 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. + #### Building an image using a URL to an archive Podman will fetch the archive file, decompress it, and use its contents as the |