From d20312118949b8a034dc283c66ec733d576a136a Mon Sep 17 00:00:00 2001 From: Cassie Breviu <46505951+cassiebreviu@users.noreply.github.com> Date: Mon, 14 Oct 2024 15:49:24 -0500 Subject: [PATCH] Update postprovision.sh --- infra/hooks/postprovision.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/infra/hooks/postprovision.sh b/infra/hooks/postprovision.sh index f3c81b4b..c35aa101 100755 --- a/infra/hooks/postprovision.sh +++ b/infra/hooks/postprovision.sh @@ -4,6 +4,7 @@ set -e # Output environment variables to .env file using azd env get-values azd env get-values > .env +az login --service-principal -u ${AZURE_CLIENT_ID} -p ${AZURE_CLIENT_SECRET} --tenant ${AZURE_TENANT_ID} --no-prompt acr_build () { image_name=$1