Skip to content

Commit

Permalink
chore: platform 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeonjerry authored Aug 2, 2023
1 parent 73d098e commit 60482f9
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/backend-prod-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,16 @@ jobs:
with:
context: backend/emm-sale
file: backend/emm-sale/Dockerfile
platforms: linux/amd64
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/kerdy:latest

# deploy:
# needs: build
# name: 배포
# runs-on: [ self-hosted, label-prod ]
# steps:
# - name: 도커 실행
# run: |
# sudo docker stop kerdy && docker rm kerdy && docker rmi ${{ DOCKERHUB_USERNAME }}/kerdy
# sudo docker run -d -p 8080:8080 --name kerdy
# deploy:
# needs: build
# name: 배포
# runs-on: [ self-hosted, label-prod ]
# steps:
# - name: 도커 실행
# run: |
# sudo docker stop kerdy && docker rm kerdy && docker rmi ${{ DOCKERHUB_USERNAME }}/kerdy
# sudo docker run -d -p 8080:8080 --name kerdy ${{ DOCKERHUB_USERNAME }}/kerdy

0 comments on commit 60482f9

Please sign in to comment.