diff --git a/.github/workflows/dev_deply.yml b/.github/workflows/dev_deply.yml index f4d8531..fe1c9b7 100644 --- a/.github/workflows/dev_deply.yml +++ b/.github/workflows/dev_deply.yml @@ -63,7 +63,7 @@ jobs: fi sudo docker tag jainefer/bill-api:latest bill-api - docker run --name bill-api -p 80:8080 \ + docker run --name bill-api -d -p 80:8080 \ -e SPRING_DATASOURCE_URL=${{secrets.SPRING_DATASOURCE_URL}} \ -e SPRING_DATASOURCE_USERNAME=${{secrets.SPRING_DATASOURCE_USERNAME}} \ -e SPRING_DATASOURCE_PASSWORD=${{secrets.SPRING_DATASOURCE_PASSWORD}} \ @@ -80,6 +80,6 @@ jobs: -e SPRINGDOC_SWAGGER_UI_OPERATIONS_SORTER=${{secrets.SPRINGDOC_SWAGGER_UI_OPERATIONS_SORTER}} \ -e SPRINGDOC_SWAGGER_UI_PATH=${{secrets.SPRINGDOC_SWAGGER_UI_PATH}} \ -e SPRING_DEVTOOLS_LIVERELOAD_ENABLE=${{secrets.SPRING_DEVTOOLS_LIVERELOAD_ENABLE}} \ - ${{secrets.DOCKERHUB_USERNAME}}/bill-api:latest + ${{ secrets.DOCKERHUB_USERNAME }}/bill-api:latest sudo docker rm $(sudo docker ps --filter 'status=exited' -a -q) sudo docker image prune -a -f \ No newline at end of file