chore: update Docker build action to v6 and enable SBOM generation#44
chore: update Docker build action to v6 and enable SBOM generation#44
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughUpdated GitHub Actions workflow configuration to upgrade the Docker build-push action from version 5 to version 6, adding provenance and SBOM generation capabilities, plus enhanced GitHub Actions cache configuration for improved build layer caching. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes
Poem
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades the Docker build and push workflow to v6 and enhances supply chain security by adding provenance attestation and SBOM (Software Bill of Materials) generation.
- Updates docker/build-push-action from v5 to v6
- Adds provenance attestation with maximum detail mode
- Enables SBOM generation for improved supply chain visibility
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| context: . | ||
| platforms: linux/amd64,linux/arm64 | ||
| push: true | ||
| provenance: mode=max |
There was a problem hiding this comment.
The provenance parameter syntax appears incorrect. For docker/build-push-action@v6, the provenance parameter should be either a boolean (true/false) or a string without the mode= prefix. If you want to enable provenance with maximum detail, use provenance: true or specify the builder option. The mode=max syntax is used for other parameters like cache-to, not for provenance.
| provenance: mode=max | |
| provenance: true |
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
Summary by CodeRabbit