From 35e44aa13cc20ceba280826fefbe87d06aa5e894 Mon Sep 17 00:00:00 2001 From: Alex Macocian Date: Fri, 24 Nov 2023 19:44:31 +0100 Subject: [PATCH] Substitute login --- .github/workflows/docker-deploy.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-deploy.yaml b/.github/workflows/docker-deploy.yaml index 437a0f4..7bd9bd8 100644 --- a/.github/workflows/docker-deploy.yaml +++ b/.github/workflows/docker-deploy.yaml @@ -33,9 +33,9 @@ jobs: uses: actions/checkout@v2 - name: Login to Azure - uses: azure/login@v1 - with: - creds: ${{ secrets.AZURE_SECRET }} + shell: pwsh + run: | + az login --service-principal -u "${{ secrets.AZURE_CLIENTID }}" -p "${{ secrets.AZURE_SECRET }}" --tenant "${{ secrets.AZURE_TENANT }}" - name: Check and Delete Existing Container Instance shell: pwsh