Skip to content

Commit

Permalink
업로드 되는 docker image에 맞게 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Curry4182 authored Jan 9, 2024
1 parent d13a71e commit 33389a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ jobs:

steps:
- name: docker pull
run: sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/github-actions-demo
run: sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/lime-image

- name: docker stop container
run: sudo docker stop $(sudo docker ps -q) 2>/dev/null || true

- name: docker run new container
run: sudo docker run --name github-actions-demo --rm -d -p 8080:8080 ${{ secrets.DOCKERHUB_USERNAME }}/github-actions-demo
run: sudo docker run --name github-actions-demo --rm -d -p 8080:8080 ${{ secrets.DOCKERHUB_USERNAME }}/lime-image

- name: delete old docker image
run: sudo docker system prune -f

0 comments on commit 33389a8

Please sign in to comment.