Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
colbylwilliams committed Jan 5, 2023
1 parent f23b128 commit ba4e356
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,20 @@ az bake sandbox create --name MySandbox --gallery MyGallery --principal 00000000
az bake repo setup --sandbox MySandbox --gallery MyGallery
```

#### 7. Create an image
#### 7. Create an image definiiton in your repo

```sh
az bake image create --name vscode-image
az bake image create --name MyImage
```

#### 8. Commit and push your changes

This will kick off a GitHub Actions workflow to build your custom images. Once the workflow is finished, you can continue to monitor the image builds:

```sh
az bake image logs --sandbox MySandbox --name MyImage
```

## Sandbox

In the context of `az bake`, a _sandbox_ is a collection of resources in a resource group that are used to create (or _"bake"_) custom VM images. It's a secure, self-contained environment where [Packer][packer-docs] will be executed from [Azure Container Instance][azure-aci] in a private virtual network. A sandbox is required to use `az bake`. You can be create a new sandbox using the [`az bake sandbox create`](bake/azext_bake/_arm.py#az-bake-sandbox-create) command.
Expand Down

0 comments on commit ba4e356

Please sign in to comment.