From 74f262357137637858dbbbfcbb39f2b9e83e9d93 Mon Sep 17 00:00:00 2001 From: yjm080821 Date: Mon, 26 Aug 2024 19:05:19 +0900 Subject: [PATCH] YNWA --- .github/workflows/azure-dev.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/azure-dev.yml b/.github/workflows/azure-dev.yml index 5ffd2ad..47ca1c3 100644 --- a/.github/workflows/azure-dev.yml +++ b/.github/workflows/azure-dev.yml @@ -3,12 +3,10 @@ on: workflow_dispatch: push: # Run when commits are pushed to mainline branch (main or master) - # Set this to the mainline branch you are using branches: - main # Set up permissions for deploying with secretless Azure federated credentials -# https://learn.microsoft.com/en-us/azure/developer/github/connect-from-azure?tabs=azure-portal%2Clinux#set-up-azure-login-with-openid-connect-authentication permissions: id-token: write contents: read @@ -43,11 +41,11 @@ jobs: - name: Build and Push Docker image for Client run: | - docker buildx build --platform linux/amd64 -f applications/client/Dockerfile -t ${{ vars.AZURE_CLIENT_ID }}/client:latest . --push + docker buildx build --platform linux/amd64 -f applications/client/Dockerfile -t ${{ vars.AZURE_CLIENT_ID }}/client:latest applications/client/ --push - name: Build and Push Docker image for Server run: | - docker buildx build --platform linux/amd64 -f applications/server/Dockerfile -t ${{ vars.AZURE_CLIENT_ID }}/server:latest . --push + docker buildx build --platform linux/amd64 -f applications/server/Dockerfile -t ${{ vars.AZURE_CLIENT_ID }}/server:latest applications/server/ --push - name: Provision Infrastructure run: azd provision --no-prompt