From d73636eb1e12635824649568428d3545cf15750e Mon Sep 17 00:00:00 2001 From: AGC <158510532+AlvaroGlezC@users.noreply.github.com> Date: Fri, 10 May 2024 20:46:53 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b1ca60e..9bf461a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -96,11 +96,9 @@ jobs: - uses: actions/checkout@v4 - name: Login to Azure Container Registry - uses: azure/docker-login@v1 + uses: azure/login@v1 with: - login-server: ${{ secrets.AZURE_REGISTRY_NAME }}.azurecr.io - username: ${{ secrets.AZURE_REGISTRY_USERNAME }} - password: ${{ secrets.AZURE_REGISTRY_PASSWORD }} + creds: ${{ secrets.AZURE_SERVICE_PRINCIPAL }} - name: Delete images run: |