Skip to content

Commit

Permalink
feat/#28/컨테이너 이름 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
gwgw123 committed Nov 30, 2024
1 parent 69cae7e commit f460061
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
env:
DOCKER_IMAGE: ghcr.io/${{ github.actor }}/github-actions-auto
VERSION: ${{ github.sha }}
NAME: go_cicd
NAME: back

jobs:
# 빌드 Job
Expand Down Expand Up @@ -63,4 +63,4 @@ jobs:
docker stop ${{ env.NAME }} || true
docker rm ${{ env.NAME }} || true
docker rmi ${{ env.DOCKER_IMAGE }}:latest || true
docker run --env-file /home/ubuntu/.env -d -p 3000:3000 --name go_cicd --restart always ${{ env.DOCKER_IMAGE }}:latest
docker run --env-file /home/ubuntu/.env -d -p 3000:3000 --name back --restart always ${{ env.DOCKER_IMAGE }}:latest

0 comments on commit f460061

Please sign in to comment.