Skip to content

CodeBuild Cache Script Fix

Choose a tag to compare

@loganpowell loganpowell released this 25 Oct 21:57
· 13 commits to dev since this release

🔧 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