Skip to content

Commit 843d0aa

Browse files
authored
Merge pull request #47 from GDSCINHA/develop
Fix: docker 빌드 확인 코드 삽입
2 parents e3a3974 + a295005 commit 843d0aa

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,16 @@ jobs:
1616
- name: Login to DockerHub (Optional)
1717
run: echo "Skipping DockerHub login since we're saving as tar."
1818

19-
- name: Docker Build
19+
# - name: Docker Build
20+
# run: |
21+
# docker build -t nextjs-app .
22+
# docker save nextjs-app -o nextjs-app.tar
23+
24+
- name: Check .next after build
2025
run: |
2126
docker build -t nextjs-app .
22-
docker save nextjs-app -o nextjs-app.tar
27+
docker run --rm --entrypoint "" nextjs-app ls -al /app/.next || echo ".next not found"
28+
2329
2430
- name: Package artifacts (tar + appspec.yml + scripts)
2531
run: |

0 commit comments

Comments
 (0)