Skip to content

Commit

Permalink
chore: ci-cd docker-compose tag 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoya324 committed Sep 9, 2024
1 parent 2b36e31 commit b21b9ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,6 @@ jobs:
echo ${{ secrets.DOCKER_PASSWORD }} | sudo docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
if [ "$(sudo docker ps -q)" ]; then sudo docker stop $(sudo docker ps -q); fi
if [ "$(sudo docker ps -a -q)" ]; then sudo docker rm $(sudo docker ps -a -q); fi
sudo docker pull ${{ secrets.DOCKER_REPO }}:develop-${{ github.run_number }}
sudo docker pull ${{ secrets.DOCKER_REPO }}:develop
sudo docker-compose -f docker-compose-dev.yml up -d
sudo docker image prune -f
2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
maru-egg-app:
container_name: maru-egg
image: ${DOCKER_REPO}:develop-${GITHUB_RUN_NUMBER}
image: ${DOCKER_REPO}:develop
ports:
- "8080:8080"
networks:
Expand Down

0 comments on commit b21b9ac

Please sign in to comment.