mirror of
https://github.com/docker/build-push-action.git
synced 2026-01-21 18:18:55 +08:00
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 Signed-off-by: Mor Weinberger <test@example.com>
This commit is contained in:
parent
9e436ba9f2
commit
e4bf8b61e3
7 changed files with 201 additions and 26 deletions
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue