From 77b43e65e3cff92f103f243629c18534a0a9a3e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Ch=C4=99ci=C5=84ski?= Date: Wed, 15 Feb 2023 16:32:00 +0100 Subject: [PATCH] Fix Azure login in self-host web build (#4766) * Fix Azure login in self-host web build * Fix names --- .github/workflows/build-web.yml | 6 +++--- .github/workflows/release-web.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-web.yml b/.github/workflows/build-web.yml index a28ecc9066..e2d00eef7f 100644 --- a/.github/workflows/build-web.yml +++ b/.github/workflows/build-web.yml @@ -216,15 +216,15 @@ jobs: docker logout echo "DOCKER_CONTENT_TRUST=0" >> $GITHUB_ENV - - name: Login to Azure - QA Subscription + - name: Login to Azure - PROD Subscription uses: Azure/login@ec3c14589bd3e9312b3cc8c41e6860e258df9010 # v1.1 with: - creds: ${{ secrets.AZURE_QA_KV_CREDENTIALS }} + creds: ${{ secrets.AZURE_PROD_KV_CREDENTIALS }} - name: Login to Azure ACR run: az acr login -n bitwardenprod - - name: Tag and Push to Azure QA ACR + - name: Tag and Push to Azure PROD ACR env: REGISTRY: bitwardenprod.azurecr.io run: | diff --git a/.github/workflows/release-web.yml b/.github/workflows/release-web.yml index 46effc6c95..cf9379a820 100644 --- a/.github/workflows/release-web.yml +++ b/.github/workflows/release-web.yml @@ -104,7 +104,7 @@ jobs: echo "DOCKER_CONTENT_TRUST=0" >> $GITHUB_ENV ########## ACR ########## - - name: Login to Azure - QA Subscription + - name: Login to Azure - PROD Subscription uses: Azure/login@ec3c14589bd3e9312b3cc8c41e6860e258df9010 # v1.1 with: creds: ${{ secrets.AZURE_PROD_KV_CREDENTIALS }}