Skip to content

Commit

Permalink
Merge pull request #4 from Sam3Star/gayeong
Browse files Browse the repository at this point in the history
ci : fix init
  • Loading branch information
GayeongKimm authored Jun 24, 2024
2 parents 58f830b + 63f9e68 commit dd7a2d8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
envs: GITHUB_SHA
script: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
docker stop java
docker rm java
docker rmi ${{ secrets.DOCKER_USERNAME }}/java:latest
docker pull ${{ secrets.DOCKER_USERNAME }}/java:latest
docker run -d -p 80:8080 --name java ${{ secrets.DOCKER_USERNAME }}/java:latest
docker stop clock
docker rm clock
docker rmi ${{ secrets.DOCKER_USERNAME }}/clock:latest
docker pull ${{ secrets.DOCKER_USERNAME }}/clock:latest
docker run -d -p 80:8080 --name clock ${{ secrets.DOCKER_USERNAME }}/clock:latest

0 comments on commit dd7a2d8

Please sign in to comment.