4
0
Fork 0
mirror of https://github.com/docker/build-push-action.git synced 2025-11-08 23:46:54 +00:00
build-push-action/__tests__
Mor Weinberger edd725a94a feat: Add retry mechanism with configurable attempts, wait time, and timeout
New input parameters:
- max-attempts (default: 1) - Maximum number of build attempts
- retry-wait-seconds (default: 0) - Delay between retry attempts
- timeout-minutes (default: 0) - Timeout per attempt (0 = no timeout)

Implementation:
- Wraps build execution in retry loop with comprehensive logging
- Adds timeout support per attempt using Promise.race()
- Fully backward compatible (default values maintain current behavior)
- Adds 2 test cases
2025-10-28 12:05:10 +02:00
..
fixtures switch to actions-toolkit implementation 2023-02-24 10:22:19 +01:00
context.test.ts feat: Add retry mechanism with configurable attempts, wait time, and timeout 2025-10-28 12:05:10 +02:00