New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation for --pull in buildah build --help
is incorrect
#5406
Labels
Comments
rhatdan
added a commit
to rhatdan/buildah
that referenced
this issue
Mar 16, 2024
Fixes: containers#5406 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan
added a commit
to rhatdan/buildah
that referenced
this issue
Mar 16, 2024
Use github.com/containers/common/pkg/config for handling pull policy. Fixes: containers#5406 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan
added a commit
to rhatdan/buildah
that referenced
this issue
Mar 18, 2024
Use github.com/containers/common/pkg/config for handling pull policy. Fixes: containers#5406 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan
added a commit
to rhatdan/buildah
that referenced
this issue
Mar 20, 2024
Use github.com/containers/common/pkg/config for handling pull policy. Fixes: containers#5406 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan
added a commit
to rhatdan/buildah
that referenced
this issue
Mar 20, 2024
Use github.com/containers/common/pkg/config for handling pull policy. No longer document --pull=true|false Fixes: containers#5406 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan
added a commit
to rhatdan/buildah
that referenced
this issue
Mar 25, 2024
Use github.com/containers/common/pkg/config for handling pull policy. No longer document --pull=true|false Fixes: containers#5406 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan
added a commit
to rhatdan/buildah
that referenced
this issue
Mar 31, 2024
Use github.com/containers/common/pkg/config for handling pull policy. No longer document --pull=true|false Fixes: containers#5406 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
A friendly reminder that this issue had no activity for 30 days. |
rhatdan
added a commit
to rhatdan/buildah
that referenced
this issue
Apr 16, 2024
Use github.com/containers/common/pkg/config for handling pull policy. No longer document --pull=true|false Fixes: containers#5406 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan
added a commit
to rhatdan/buildah
that referenced
this issue
Apr 20, 2024
Use github.com/containers/common/pkg/config for handling pull policy. No longer document --pull=true|false Fixes: containers#5406 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan
added a commit
to rhatdan/buildah
that referenced
this issue
Apr 20, 2024
Use github.com/containers/common/pkg/config for handling pull policy. No longer document --pull=true|false Fixes: containers#5406 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan
added a commit
to rhatdan/buildah
that referenced
this issue
Apr 24, 2024
Use github.com/containers/common/pkg/config for handling pull policy. No longer document --pull=true|false Fixes: containers#5406 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Documentation for the
--pull
flag is incorrect/missing.--pull=false
in the help menu states that it only pulls if not present, but the man page states (correctly) that it never pulls.--pull=missing
is missing from the help menu.Emphasis mine.
buildah build --help
states:pull base and SBOM scanner images from the registry if newer or not present in store, if false, only pull base and SBOM scanner images IF NOT PRESENT, if always, pull base and SBOM scanner images even if the named images are present in store, if never, only use images present in store if available (default "true")
man buildah-build
states:When the --pull flag is enabled or set explicitly to true (with --pull=true), attempt to pull the latest versions of base and SBOM scanner images from the registries listed in registries.conf if a local base or SBOM scanner image does
not exist or the image in the registry is newer than the one in local storage. Raise an error if the base or SBOM scanner image is not in any listed registry and is not present locally.
If the flag is disabled (with --pull=false), DO NOT PULL base and SBOM scanner images from registries, use only local versions. Raise an error if a base or SBOM scanner image is not present locally.
If the pull flag is set to always (with --pull=always), pull base and SBOM scanner images from the registries listed in registries.conf. Raise an error if a base or SBOM scanner image is not found in the registries, even if an image
with the same name is present locally.
If the pull flag is set to missing (with --pull=missing), pull base and SBOM scanner images only if they could not be found in the local containers storage. Raise an error if no image could be found and the pull fails.
If the pull flag is set to never (with --pull=never), do not pull base and SBOM scanner images from registries, use only the local versions. Raise an error if the image is not present locally.
Output of
buildah version
:Output of
podman version
if reporting apodman build
issue:Output of
cat /etc/*release
:Output of
uname -a
:The text was updated successfully, but these errors were encountered: