diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 1043488..89f5bf4 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -24,8 +24,8 @@ jobs: run: echo "Code Repo (Frontend)" - name: Code Repo 불러오기 (Frontend) uses: actions/checkout@v4 - with: - path: frontend + - name: 폴더 이동 + run: cd frontend - name: Docker 준비(1/4) - 메타데이터 생성 (Frontend) id: meta-frontend @@ -38,15 +38,6 @@ jobs: latest flavor: | latest=true - - - name: 현재 디렉토리 확인 - run: pwd - - - name: 현재 디렉토리의 파일 목록 확인 - run: ls -al - - - name: frontend 디렉토리의 파일 목록 확인 - run: ls -al ./frontend - name: Docker 준비(2/4) - QEMU 설정 (Frontend) uses: docker/setup-qemu-action@v2 @@ -63,8 +54,8 @@ jobs: - name: Docker 빌드 및 푸시 (Frontend) uses: docker/build-push-action@v4 with: - context: ./frontend - file: Dockerfile + context: . + file: ./Dockerfile platforms: linux/amd64 push: true tags: ${{ steps.meta-frontend.outputs.tags }} @@ -80,8 +71,8 @@ jobs: run: echo "Code Repo (Backend)" - name: Code Repo 불러오기 (Backend) uses: actions/checkout@v4 - with: - path: backend + - name: 폴더 이동 + run: cd backend - name: Docker 준비(1/4) - 메타데이터 생성 (Backend) id: meta-backend @@ -110,8 +101,8 @@ jobs: - name: Docker 빌드 및 푸시 (Backend) uses: docker/build-push-action@v4 with: - context: ./backend - file: Dockerfile + context: . + file: ./Dockerfile platforms: linux/amd64 push: true tags: ${{ steps.meta-backend.outputs.tags }}