From d8bce0018bae0a8fd9022f5425605f20d64d2d44 Mon Sep 17 00:00:00 2001 From: shpraka <46188819+shpraka@users.noreply.github.com> Date: Mon, 20 Mar 2023 18:16:50 +0530 Subject: [PATCH 1/4] Update pr_check_windows_container_pubprofile.yml --- .github/workflows/pr_check_windows_container_pubprofile.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr_check_windows_container_pubprofile.yml b/.github/workflows/pr_check_windows_container_pubprofile.yml index a8078853d..9809c8034 100644 --- a/.github/workflows/pr_check_windows_container_pubprofile.yml +++ b/.github/workflows/pr_check_windows_container_pubprofile.yml @@ -14,7 +14,7 @@ on: env: AZURE_WEBAPP_NAME: wincontainerswebapp # set this to your application's name - CONTAINER_REGISTRY: webdeploytestscontainerregistry.azurecr.io # set secret with Container Registry URL, example : xyz.azurecr.io + CONTAINER_REGISTRY: webdeployprtestscontainerregistry.azurecr.io # set secret with Container Registry URL, example : xyz.azurecr.io jobs: build-and-deploy: @@ -37,7 +37,7 @@ jobs: - uses: azure/docker-login@v1 with: - login-server: webdeploytestscontainerregistry.azurecr.io + login-server: ${{ env.CONTAINER_REGISTRY }} username: ${{ secrets.WEBDEPLOY_TEST_ACR_USERNAME }} password: ${{ secrets.WEBDEPLOY_TEST_ACR_PASSWORD }} From f19357db6d277aa3ca1ab6e0e202aa8ba1c4c560 Mon Sep 17 00:00:00 2001 From: shpraka <46188819+shpraka@users.noreply.github.com> Date: Mon, 20 Mar 2023 18:21:17 +0530 Subject: [PATCH 2/4] Moved the entries to secrets --- .github/workflows/pr_check_windows_container_pubprofile.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr_check_windows_container_pubprofile.yml b/.github/workflows/pr_check_windows_container_pubprofile.yml index 9809c8034..5e95a97b5 100644 --- a/.github/workflows/pr_check_windows_container_pubprofile.yml +++ b/.github/workflows/pr_check_windows_container_pubprofile.yml @@ -13,8 +13,8 @@ on: - 'releases/*' env: - AZURE_WEBAPP_NAME: wincontainerswebapp # set this to your application's name - CONTAINER_REGISTRY: webdeployprtestscontainerregistry.azurecr.io # set secret with Container Registry URL, example : xyz.azurecr.io + AZURE_WEBAPP_NAME: $${{secrets.PR_AZURE_WEBAPP_NAME}} # set this to your application's name + CONTAINER_REGISTRY: ${{secrets.PR_CONTAINER_REGISTRY}} # set secret with Container Registry URL, example : xyz.azurecr.io jobs: build-and-deploy: From a06b929d60808c402799173f62e9543599572669 Mon Sep 17 00:00:00 2001 From: shpraka <46188819+shpraka@users.noreply.github.com> Date: Mon, 20 Mar 2023 18:24:45 +0530 Subject: [PATCH 3/4] Update pr_check_windows_container_pubprofile.yml --- .github/workflows/pr_check_windows_container_pubprofile.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr_check_windows_container_pubprofile.yml b/.github/workflows/pr_check_windows_container_pubprofile.yml index 5e95a97b5..c1035c971 100644 --- a/.github/workflows/pr_check_windows_container_pubprofile.yml +++ b/.github/workflows/pr_check_windows_container_pubprofile.yml @@ -13,8 +13,8 @@ on: - 'releases/*' env: - AZURE_WEBAPP_NAME: $${{secrets.PR_AZURE_WEBAPP_NAME}} # set this to your application's name - CONTAINER_REGISTRY: ${{secrets.PR_CONTAINER_REGISTRY}} # set secret with Container Registry URL, example : xyz.azurecr.io + AZURE_WEBAPP_NAME: wincontainerswebapp # set this to your application's name + CONTAINER_REGISTRY: webdeployprtestscontainerregistry # set secret with Container Registry URL, example : xyz.azurecr.io jobs: build-and-deploy: From 0ff7d896a303ef2cc9881ebef3589d297b0ab4d8 Mon Sep 17 00:00:00 2001 From: shpraka <46188819+shpraka@users.noreply.github.com> Date: Mon, 20 Mar 2023 18:25:24 +0530 Subject: [PATCH 4/4] Update pr_check_windows_container_pubprofile.yml --- .github/workflows/pr_check_windows_container_pubprofile.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr_check_windows_container_pubprofile.yml b/.github/workflows/pr_check_windows_container_pubprofile.yml index c1035c971..7fb439251 100644 --- a/.github/workflows/pr_check_windows_container_pubprofile.yml +++ b/.github/workflows/pr_check_windows_container_pubprofile.yml @@ -14,7 +14,7 @@ on: env: AZURE_WEBAPP_NAME: wincontainerswebapp # set this to your application's name - CONTAINER_REGISTRY: webdeployprtestscontainerregistry # set secret with Container Registry URL, example : xyz.azurecr.io + CONTAINER_REGISTRY: webdeployprtestscontainerregistry.azurecr.io # set secret with Container Registry URL, example : xyz.azurecr.io jobs: build-and-deploy: