mirror of
https://github.com/home-assistant/operating-system.git
synced 2026-03-01 22:21:46 +00:00
We still face occasional build errors when fetching from the Docker registry fails and is not retried with the Skopeo's built-in retry mechanism that was enabled in #1866. This happens on some network failures, or when premature EOF is returned when fetching the HTTP data. Seems we're not the only ones having such issues [1]. To workaround this, add a generic retry shell function that simply retries when the command ends with a non-zero status, no matter what was the actual cause of the error. [1] https://www.github.com/containers/common/issues/654