Skip to content

Commit

Permalink
Updating the workflow files with new resources (#249)
Browse files Browse the repository at this point in the history
* Update pr_check_windows_container_pubprofile.yml

* Update pr_check_webapp_dotnet_windows.yml
  • Loading branch information
shpraka authored Sep 2, 2022
1 parent bc8bbe0 commit 6eebfcd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr_check_webapp_dotnet_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
#
# 2. Change these variables for your configuration:
env:
AZURE_WEBAPP_NAME: dotnetwebapplima # set this to your application's name
AZURE_WEBAPP_NAME: dotnetwebappdeploy # set this to your application's name
AZURE_WEBAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
NUGET_VERSION: '5.3.1' # set this to the node version to use

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/pr_check_windows_container_pubprofile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ on:
- 'releases/*'

env:
AZURE_WEBAPP_NAME: windowscontainerwebapp # set this to your application's name
CONTAINER_REGISTRY: l2testscontainerregistry.azurecr.io # set secret with Container Registry URL, example : xyz.azurecr.io
AZURE_WEBAPP_NAME: wincontainerwebapp # set this to your application's name
CONTAINER_REGISTRY: webdeploytestscontainerregistry.azurecr.io # set secret with Container Registry URL, example : xyz.azurecr.io

jobs:
build-and-deploy:
Expand All @@ -37,9 +37,9 @@ jobs:

- uses: azure/docker-login@v1
with:
login-server: l2testscontainerregistry.azurecr.io
username: ${{ secrets.L2TEST_ACR_USERNAME }}
password: ${{ secrets.L2TEST_ACR_PASSWORD }}
login-server: webdeploytestscontainerregistry.azurecr.io
username: ${{ secrets.WEBDEPLOY_TEST_ACR_USERNAME }}
password: ${{ secrets.WEBDEPLOY_TEST_ACR_PASSWORD }}

- run: |
pwd
Expand All @@ -56,7 +56,7 @@ jobs:
[
{
"name": "DOCKER_REGISTRY_SERVER_PASSWORD",
"value": "${{ secrets.L2TEST_ACR_PASSWORD }}",
"value": "${{ secrets.WEBDEPLOY_TEST_ACR_PASSWORD }}",
"slotSetting": false
},
{
Expand All @@ -66,7 +66,7 @@ jobs:
},
{
"name": "DOCKER_REGISTRY_SERVER_USERNAME",
"value": "${{ secrets.L2TEST_ACR_USERNAME }}",
"value": "${{ secrets.WEBDEPLOY_TEST_ACR_USERNAME }}",
"slotSetting": false
}
]
Expand Down

0 comments on commit 6eebfcd

Please sign in to comment.