diff --git a/.github/workflows/azure-dev.yml b/.github/workflows/azure-dev.yml index f55837f..8c050a7 100644 --- a/.github/workflows/azure-dev.yml +++ b/.github/workflows/azure-dev.yml @@ -40,9 +40,12 @@ jobs: cd server ./gradlew build -x test - - name: Log in to Azure Container Registry (ACR) - run: | - echo ${{ secrets.AZURE_PASSWORD }} | docker login ${{ secrets.AZURE_CONTAINER_REGISTRY }} -u ${{ secrets.AZURE_USERNAME }} --password-stdin + - name: Log in to Docker Registry + uses: azure/docker-login@v1 + with: + login-server: ${{ secrets.AZURE_CONTAINER_REGISTRY }} + username: ${{ secrets.REGISTRY_USERNAME }} + password: ${{ secrets.REGISTRY_PASSWORD }} - name: Build and Push Docker Image run: |