Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chanyoung1998 authored Jul 15, 2024
1 parent 17777d0 commit bea2f27
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,11 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Push Docker image
run: sudo docker push dplanner/api:${{ env.DOCKER_IMAGE_VERSION }}

- name: Push Docker image
run: |
sudo docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
sudo docker push dplanner/api:${{ env.DOCKER_IMAGE_VERSION }}
- name: Clean Docker image
run: sudo docker rmi dplanner/api:${{ env.DOCKER_IMAGE_VERSION }}

0 comments on commit bea2f27

Please sign in to comment.