Skip to content

Commit

Permalink
fix : docker compose 조건값 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
jiji-hoon96 committed Aug 12, 2024
1 parent c2a756d commit a2de63b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

Expand All @@ -25,6 +28,7 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ secrets.DOCKERHUB_USERNAME }}/snappy:latest

deploy:
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ version: '3'
services:
nextjs-app:
image: jihoonyhoon/snappy:latest
platform: linux/arm64
ports:
- '3000:3000'
restart: always

0 comments on commit a2de63b

Please sign in to comment.