Triggers an image bake for a recipe. The bake combines a recipe (what to install), an environment (scratch VM shape), and a placement (where to run and which base image to use) to produce a provisioned image that agents use at spawn time. If a matching image already exists in the cache, the command returns immediately without starting a new bake. UseDocumentation Index
Fetch the complete documentation index at: https://docs.murmur.dev/llms.txt
Use this file to discover all available pages before exploring further.
--force-new to bypass the cache.
Synopsis
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
recipe | string | yes | Name of the recipe to bake. |
environment | string | yes | Name of the environment that provides the scratch VM shape. |
placement | string | yes | Name of the placement that determines where the image is baked and how the base image is resolved. |
--force-new | bool | no | Skip the cache check and always run a fresh bake. Default: false. |
--service-profile | string | no | Named service profile for credentials. Only available for GitHub App tenants. Mutually exclusive with -e. |
-e | string | no | Forward an environment variable to the bake VM as a secret. -e FOO reads from your current environment; -e FOO=bar sets it explicitly. Repeatable. Mutually exclusive with --service-profile. |
Output
The command prints one of three results depending on the state of the image cache:Cache hit
Bake started
murmur patch command you can use to pin a workspace to the resulting image once the bake completes.
Bake already in progress
Examples
Bake a recipe for staging
Force a fresh bake
Pass secrets to the bake VM
-e NPM_TOKEN reads the value from your current shell environment. -e ARTIFACTORY_URL=https://registry.example.com sets it explicitly. These secrets are available to the recipe scripts during the bake.
Use a service profile
ci-bot service profile for credentials instead of your developer profile.
Errors
| Code | Meaning | What to do |
|---|---|---|
NOT_FOUND | The recipe, environment, or placement does not exist. | Check the names with murmur get recipe, murmur get environment, or murmur get placement. |
INVALID_ARGUMENT | --service-profile and -e are mutually exclusive | Use one or the other, not both. |
UNAUTHENTICATED | Identity token is missing or expired. | Run murmur auth or check your murmur.local.yaml configuration. |
PERMISSION_DENIED | You do not have recipe.edit permission for this tenant. | Contact your tenant admin. |
Related
- Images — concept overview of the two-layer image model
- Recipe — what a recipe defines
- Custom images guide — end-to-end walkthrough of building custom images
murmur bakes ls— list bake workflows and their status- Placement — catalog reference for placements
- Environment — catalog reference for environments