Skip to content

Commit

Permalink
docker-compose 수정
Browse files Browse the repository at this point in the history
nahowo committed Dec 5, 2024
1 parent 0efcc1e commit 7717030
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
@@ -59,5 +59,6 @@ jobs:
envs: GITHUB_SHA
script: |
sudo echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPOSITORY }}:${GITHUB_SHA::7}
sudo docker-compose down
sudo docker-compose pull
sudo docker-compose up -d
4 changes: 1 addition & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -21,10 +21,8 @@ services:
- alchive

springboot:
image: "alchive/alchive:latest"
container_name: springboot
build:
context: .
dockerfile: Dockerfile
restart: always
depends_on:
- mysql

0 comments on commit 7717030

Please sign in to comment.