Repository navigation
CodeBuild Cache Script Fix
🔧 CodeBuild Fix
Fixed Docker Manifest Parsing:
- Improved digest extraction with multiple fallback methods
- More robust jq parsing for Docker manifest responses
- Handles edge cases where specific digest cannot be determined
- Prevents parsing errors that caused pre-build phase failures
What This Fixes:
- CodeBuild pre-build phase should now complete successfully
- Resolves
jq: error: Cannot index array with string "Descriptor" - Enables reliable Docker base image caching in ECR
Testing:
This release tests the complete GitHub Actions + OIDC + CodeBuild pipeline with all fixes applied:
- ✅ OIDC authentication with required permissions
- ✅ Dynamic repository detection
- ✅ Improved Docker manifest parsing