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
Cannot save images locally when tag is too long #2053
Comments
It has been observed by members of our community that this appears to be a regression in |
After further investigation, this regressions was introduced in #1982 |
commenting to mention that I'm encountering this issue as well when pushing images that are tagged with long branch names |
Hi folks, I also ran into the same issue using Docker Desktop for macOS with Earthly. When enabled, it seems to mess with the container registry settings that are incompatible with any recent version of Earthly (I tested with 0.6.14, 0.6.19, & 0.6.22). Disabling the setting fixed it for me. |
Fixes #2053 Co-authored-by: Vlad A. Ionescu <vladaionescu@users.noreply.github.com>
The fix for this is going out in the next release |
Take, for example, this
Earthfile
:It fails with this error:
(https://ci.earthly.dev/logs?logId=a75aa13b-6caf-4a7c-b40b-44bf0c8010ba)
It appears that the additional metadata added to the image tag for the internal registry creates a tag that is too long.
It is possible to workaround this failure with
--no-output
, or by shortening your tags; but we should have a better way to handle this that doesn't depend on unbounded input from the user.The text was updated successfully, but these errors were encountered: