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: |