Skip to content

Commit

Permalink
⚙️ chre : docker image 이름 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
jinddings committed Nov 5, 2024
1 parent e7dac7c commit 7266940
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [main, alpha]

env:
DOCKER_IMAGE: juga-docker
DOCKER_IMAGE: ${{ vars.DOCKERHUB_USERNAME }}/juga-docker
DOCKER_TAG: ${{ github.sha }}

jobs:
Expand Down Expand Up @@ -68,9 +68,9 @@ jobs:
key: ${{ secrets.NCP_SERVER_SSH_KEY }}
script: |
docker pull ${{ env.DOCKER_IMAGE }}:${{ env.DOCKER_TAG }}
docker stop my-app || true
docker rm my-app || true
docker stop juga-docker || true
docker rm juga-docker || true
docker run -d \
--name my-app \
--name juga-docker \
-p 8080:8080 \
${{ env.DOCKER_IMAGE }}:${{ env.DOCKER_TAG }}

0 comments on commit 7266940

Please sign in to comment.