Skip to content

Commit

Permalink
infra: fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
hynseok committed Nov 3, 2024
1 parent 1ca87c7 commit b82d026
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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 }}
Expand All @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit b82d026

Please sign in to comment.