Skip to content

Commit c341433

Browse files
committed
edit
1 parent 910b745 commit c341433

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

articles/azure-resource-manager/bicep/private-module-registry.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ A Bicep registry is hosted on [Azure Container Registry (ACR)](../../container-r
5555
5656
## Publish files to registry
5757
58-
After setting up the container registry, you can publish files to it. Use the [publish](bicep-cli.md#publish) command and provide any Bicep files you intend to use as modules. Specify the target location for the module in your registry. The publish command will create an ARM template which will be stored in the registry. This means if publishing a Bicep file that references other local modules, these modules will be fully expanded as one JSON file and published to the registry.
58+
After setting up the container registry, you can publish files to it. Use the [publish](bicep-cli.md#publish) command and provide any Bicep files you intend to use as modules. Specify the target location for the module in your registry. The publish command creates an ARM template, which is stored in the registry. This means if publishing a Bicep file that references other local modules, these modules are fully expanded as one JSON file and published to the registry.
5959
6060
# [PowerShell](#tab/azure-powershell)
6161
@@ -91,11 +91,11 @@ az bicep publish --file storage.bicep --target br:exampleregistry.azurecr.io/bic
9191

9292
---
9393

94-
With the with source switch, you see an additional layer in the manifest:
94+
With the with source switch, you see an another layer in the manifest:
9595

9696
:::image type="content" source="./media/private-module-registry/bicep-module-with-source-manifest.png" lightbox="./media/private-module-registry/bicep-module-with-source-manifest.png" alt-text="Screenshot of bicep module registry with source.":::
9797

98-
Note that if the Bicep module references a module in a Private Registry, the ACR endpoint will be visible. To hide the full endpoint, you can configure an alias for the private registry.
98+
If the Bicep module references a module in a Private Registry, the ACR endpoint is visible. To hide the full endpoint, you can configure an alias for the private registry.
9999

100100
## View files in registry
101101

@@ -105,9 +105,9 @@ To see the published module in the portal:
105105
1. Search for **container registries**.
106106
1. Select your registry.
107107
1. Select **Services** -> **Repositories** from the left menu.
108-
1. Select the module path (repository). In the preceding example, the module path name is **bicep/modules/storage**.
108+
1. Select the module path (repository). In the preceding example, the module path name is **bicep/modules/storage**.
109109
1. Select the tag. In the preceding example, the tag is **v1**.
110-
1. The **Artifact reference** matches the reference you'll use in the Bicep file.
110+
1. The **Artifact reference** matches the reference you use in the Bicep file.
111111

112112
![Bicep module registry artifact reference](./media/private-module-registry/bicep-module-registry-artifact-reference.png)
113113

@@ -116,7 +116,7 @@ You're now ready to reference the file in the registry from a Bicep file. For ex
116116
---
117117
## Working with Bicep registry files
118118

119-
When leveraging bicep files that are hosted in a remote registry, it's important to understand how your local machine will interact with the registry. When you first declare the reference to the registry, your local editor will try to communicate with the Azure Container Registry and download a copy of the registry to your local cache.
119+
When using bicep files that are hosted in a remote registry, it's important to understand how your local machine interacts with the registry. When you first declare the reference to the registry, your local editor tries to communicate with the Azure Container Registry and download a copy of the registry to your local cache.
120120

121121
The local cache is found in:
122122

@@ -138,17 +138,16 @@ The local cache is found in:
138138
~/.bicep
139139
```
140140
141-
Any changes made to the remote registry will not be recognized by your local machine until a `restore` has been ran with the specified file that includes the registry reference.
141+
Your local machine can recognize any changes made to the remote registry until you run a `restore` with the specified file that includes the registry reference.
142142
143143
```azurecli
144144
az bicep restore --file <bicep-file> [--force]
145145
```
146146

147-
For more information refer to the [`restore` command.](bicep-cli.md#restore)
148-
147+
For more information, see the [`restore` command.](bicep-cli.md#restore)
149148

150149
## Next steps
151150

152-
* To learn about modules, see [Bicep modules](modules.md).
153-
* To configure aliases for a module registry, see [Add module settings in the Bicep config file](bicep-config-modules.md).
154-
* For more information about publishing and restoring modules, see [Bicep CLI commands](bicep-cli.md).
151+
- To learn about modules, see [Bicep modules](modules.md).
152+
- To configure aliases for a module registry, see [Add module settings in the Bicep config file](bicep-config-modules.md).
153+
- For more information about publishing and restoring modules, see [Bicep CLI commands](bicep-cli.md).

0 commit comments

Comments
 (0)