fix: resolve eStargz version check bug and add test coverage

- Move buildx version check before adding compression parameters to prevent build failures on older buildx versions
- Add comprehensive unit tests for estargz feature with 8 test cases
- Simplify redundant ternary operator logic
- Rebuild dist files to fix CI verification

Fixes the critical bug where compression parameters were added before version validation, causing unsupported parameter errors on buildx < 0.10.0
This commit is contained in:
Claude 2025-10-05 19:01:20 -04:00
parent 527d67c3c7
commit 4008f7467f
4 changed files with 211 additions and 23 deletions

2
dist/index.js generated vendored

File diff suppressed because one or more lines are too long

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long