Skip to content

Commit 70cde67

Browse files
Updated the ACRBuildAndPushGuide.md file
1 parent dac63a1 commit 70cde67

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

documents/ACRBuildAndPushGuide.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,37 +33,35 @@ az acr login --name $ACR_NAME
3333

3434
```bash
3535
az acr login --name <containerregname>
36-
docker build --no-cache -f docker/Backend.Dockerfile -t <acrloginserver>/<repo>:<tagname> .
36+
docker build --no-cache -f api/ApiApp.Dockerfile -t <acrloginserver>/<repo>:<tagname> .
3737
docker push <acrloginserver>/<repo>:<tagname>
3838
```
3939

40-
If you want to update image tag and image manually you can follow below steps:
41-
- Go to your **Container App** in the [Azure Portal](https://portal.azure.com/#home).
42-
- In the left menu, select **Containers**.
43-
- Under your container, update:
44-
45-
- Image source → Azure Container Registry / Docker Hub.
40+
If you want to update image tag and image manually you can follow below steps:
41+
- Go to your api App Service in the [Azure Portal](https://portal.azure.com/#home).
42+
- In the left menu, select Deployment → Deployment Center
43+
- Under Registry settings, you can configure:
4644

47-
- Image namemyapp/backend.
45+
- Image Source(e.g., Azure Container Registry / Docker Hub / Other).
4846

49-
- Tag → change to the new one you pushed (e.g., v2).
47+
- Image Name → e.g., myapp/backend.
5048

51-
- Click **Save** → this will create a new revision automatically with the updated image.
49+
- Tag → e.g., v1.2.3.
5250

53-
![alt text](./Images/ContainerApp.png)
51+
![alt text](./Images/AppServiceContainer.png)
5452

5553
**WebApp :**
5654

5755
```bash
5856
az acr login --name <containerregname>
59-
docker build --no-cache -f docker/Frontend.Dockerfile -t <acrloginserver>/<repo>:<tagname> .
57+
docker build --no-cache -f App/WebApp.Dockerfile -t <acrloginserver>/<repo>:<tagname> .
6058
docker push <acrloginserver>/<repo>:<tagname>
6159
```
6260

6361
If you want to update image tag and image manually you can follow below steps:
6462
- Go to your App Service in the [Azure Portal](https://portal.azure.com/#home).
6563
- In the left menu, select Deployment → Deployment Center
66-
- Under Container settings, you can configure:
64+
- Under Registry settings, you can configure:
6765

6866
- Image Source → (e.g., Azure Container Registry / Docker Hub / Other).
6967

0 commit comments

Comments
 (0)