Skip to content

Commit 872e441

Browse files
Updated the ACRBuildandPushGuide file
1 parent 4e6168a commit 872e441

File tree

1 file changed

+3
-27
lines changed

1 file changed

+3
-27
lines changed

docs/ACRBuildAndPushGuide.md

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -29,41 +29,18 @@ az acr login --name $ACR_NAME
2929

3030
## 🚀 Build and Push Images
3131

32-
**Backend :**
32+
**Backend :** / **WebApp :**
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 WebApp.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.
46-
47-
- Image name → myapp/backend.
48-
49-
- Tag → change to the new one you pushed (e.g., v2).
50-
51-
- Click **Save** → this will create a new revision automatically with the updated image.
52-
53-
![alt text](./images/ContainerApp.png)
54-
55-
**WebApp :**
56-
57-
```bash
58-
az acr login --name <containerregname>
59-
docker build --no-cache -f docker/Frontend.Dockerfile -t <acrloginserver>/<repo>:<tagname> .
60-
docker push <acrloginserver>/<repo>:<tagname>
61-
```
62-
6340
If you want to update image tag and image manually you can follow below steps:
6441
- Go to your App Service in the [Azure Portal](https://portal.azure.com/#home).
6542
- In the left menu, select Deployment → Deployment Center
66-
- Under Container settings, you can configure:
43+
- Under Registry settings, you can configure:
6744

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

@@ -73,7 +50,6 @@ If you want to update image tag and image manually you can follow below steps:
7350

7451
![alt text](./images/AppServiceContainer.png)
7552

76-
7753
## ✅ Verification
7854

7955
Run the following command to verify that images were pushed successfully:

0 commit comments

Comments
 (0)