[PR #6389] Docker edge build retries #6484

Closed
opened 2026-02-28 21:29:00 -06:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/6389

State: closed
Merged: No


Add retries to Docker edge workflow jobs

This PR enhances the reliability of the Docker edge workflow by adding retry logic to critical build and push steps.

Why:
To mitigate transient failures that can occur during Docker image building and pushing, such as network issues or registry timeouts. This makes the CI/CD pipeline more robust and reduces the number of flaky runs.

What:

  • Introduced fail-fast: false to the matrix strategy, ensuring all build variants attempt to complete.
  • Implemented nick-fields/retry for the "Build image for testing" and "Build and push images" steps, configured for 3 attempts with appropriate timeouts.
  • Converted the docker/build-push-action to raw docker buildx build commands to integrate with the retry action, including proper handling of Docker metadata tags.

Open in Cursor Open in Web

**Original Pull Request:** https://github.com/actualbudget/actual/pull/6389 **State:** closed **Merged:** No --- <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --> ### Add retries to Docker edge workflow jobs This PR enhances the reliability of the Docker edge workflow by adding retry logic to critical build and push steps. **Why:** To mitigate transient failures that can occur during Docker image building and pushing, such as network issues or registry timeouts. This makes the CI/CD pipeline more robust and reduces the number of flaky runs. **What:** - Introduced `fail-fast: false` to the matrix strategy, ensuring all build variants attempt to complete. - Implemented `nick-fields/retry` for the "Build image for testing" and "Build and push images" steps, configured for 3 attempts with appropriate timeouts. - Converted the `docker/build-push-action` to raw `docker buildx build` commands to integrate with the retry action, including proper handling of Docker metadata tags. --- <a href="https://cursor.com/background-agent?bcId=bc-fdadbb13-97fa-4426-9e23-f66ae8c21d26"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-cursor-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-cursor-light.svg"><img alt="Open in Cursor" src="https://cursor.com/open-in-cursor.svg"></picture></a>&nbsp;<a href="https://cursor.com/agents?id=bc-fdadbb13-97fa-4426-9e23-f66ae8c21d26"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-web-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-web-light.svg"><img alt="Open in Web" src="https://cursor.com/open-in-web.svg"></picture></a>
GiteaMirror added the pull-request label 2026-02-28 21:29:01 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#6484