File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 3939 dotnet build --configuration Release ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}${{ env.SRC_PROJECT_PATH }}
4040
4141 - name : Build the Docker image
42- run : docker build . --file Dockerfile --tag ${{ env.imageName }}:${{ env.tag }}
42+ run : docker build ./src/webapp01 --file ./src/webapp01/ Dockerfile --tag ${{ env.imageName }}:${{ env.tag }}
Original file line number Diff line number Diff line change 5858 username : ${{ secrets.REGISTRY_USERNAME }}
5959 password : ${{ secrets.REGISTRY_PASSWORD }}
6060 - run : |
61- docker build . -t crdevsecopscldev.azurecr.io/webapp01:${{ github.sha }}
61+ docker build ./src/webapp01 --file ./src/webapp01/Dockerfile -t crdevsecopscldev.azurecr.io/webapp01:${{ github.sha }}
6262 docker push crdevsecopscldev.azurecr.io/webapp01:${{ github.sha }}
6363
6464 - uses : azure/webapps-deploy@v2
You can’t perform that action at this time.
0 commit comments