Skip to content
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

[Bug]: Confusing error message when Docker is not able to push the image #6959

Open
vvagaytsev opened this issue Mar 19, 2025 · 0 comments
Open
Labels

Comments

@vvagaytsev
Copy link
Collaborator

vvagaytsev commented Mar 19, 2025

Bug

Current behavior

The error looks like this:

✖ build.vote                → Failed (took 1.5 sec)
ℹ test.vote-unit            → Aborting because upstream dependency failed.
✖ build.vote                → Failed processing Build type=container name=vote (from module vote) (took 2.63 sec). This is what happened:

──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
ERROR: denied: Your authorization token has expired. Reauthenticate and try again.
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Expected behavior

More context should be given in the error message, namely that docker build failed, and a few lines before the error happened (so users understand that it failed to push to the registry).

Reproducible example

Workaround

Suggested solution(s)

Additional context

Your environment

  • OS:
  • How I'm running Kubernetes:

garden version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant