feat: add flag to disable provenance for lambda images#376
Conversation
|
Your development orb has been published. It will expire in 30 days. |
|
Your orb has been published to the CircleCI Orb Registry. |
There was a problem hiding this comment.
Pull request overview
Adds a configurable flag to disable Docker BuildKit provenance when building images via the update_track CircleCI workflow/command, intended to produce Lambda-compatible images.
Changes:
- Add
DISABLE_PROVENANCEsupport inupdate_track.shto append--provenance=falsetodocker buildx build. - Expose a
disable_provenanceboolean parameter in theupdate_trackcommand and job. - Wire the new parameter through job → command → script environment.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| src/scripts/track/update_track.sh | Adds env logging and conditionally appends --provenance=false to buildx output args. |
| src/jobs/track/update_track.yml | Introduces disable_provenance parameter and forwards it into the update_track command. |
| src/commands/track/update_track.yml | Introduces disable_provenance parameter and passes DISABLE_PROVENANCE into the build script environment. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Description
AWS Lambdas don't like multi-architecture builds. This allows disabling that to get the image format needed