We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description
Building an image with --cache-from REGISTRY and --retry 0 still attempts to pull the missing layer 3 times. The --retry-delay option is also ignored.
--cache-from REGISTRY
--retry 0
--retry-delay
Steps to reproduce the issue:
buildah build --layers --cache-from REGISTRY --retries 0 .
Describe the results you received:
Cache misses triggered retries
Describe the results you expected:
No retries should occur when cached layer is missing.
Output of rpm -q buildah or apt list buildah:
rpm -q buildah
apt list buildah
n/a (built from source)
Output of buildah version:
buildah version
buildah version 1.35.3 (image-spec 1.1.0, runtime-spec 1.1.0)
Output of podman version if reporting a podman build issue:
podman version
podman build
n/a
Output of cat /etc/*release:
cat /etc/*release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"
Output of uname -a:
uname -a
Linux 053a9acc6cd8 6.6.22-linuxkit #1 SMP Fri Mar 29 12:21:27 UTC 2024 x86_64 GNU/Linux
Output of cat /etc/containers/storage.conf:
cat /etc/containers/storage.conf
The text was updated successfully, but these errors were encountered:
A friendly reminder that this issue had no activity for 30 days.
Sorry, something went wrong.
No branches or pull requests
Description
Building an image with
--cache-from REGISTRY
and--retry 0
still attempts to pull the missing layer 3 times. The--retry-delay
option is also ignored.Steps to reproduce the issue:
buildah build --layers --cache-from REGISTRY --retries 0 .
Describe the results you received:
Cache misses triggered retries
Describe the results you expected:
No retries should occur when cached layer is missing.
Output of
rpm -q buildah
orapt list buildah
:Output of
buildah version
:Output of
podman version
if reporting apodman build
issue:Output of
cat /etc/*release
:Output of
uname -a
:Output of
cat /etc/containers/storage.conf
:The text was updated successfully, but these errors were encountered: