From 76c4d1974e5e1d7e4f4b99f631ccec40ffd1f258 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=8F=99=EC=B0=AC?= <129833370+dongchandev@users.noreply.github.com> Date: Tue, 27 Aug 2024 08:29:28 +0900 Subject: [PATCH] deploy --- .github/workflows/azure-dev.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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: |