diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 464224d..48f213d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -49,6 +49,6 @@ jobs: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} docker stop clock || true docker rm clock || true - docker rmi ${{ secrets.DOCKER_USERNAME }}/clock:latest || true + docker rmi ${{ secrets.DOCKER_USERNAME }}/clock:latest docker pull ${{ secrets.DOCKER_USERNAME }}/clock:latest - docker run -d -p 80:8080 --name clock -e DB_URL=${{ secrets.DB_URL }} -e DB_USERNAME=${{ secrets.DB_USERNAME }} -e DB_PASSWORD=${{ secrets.DB_PASSWORD }} ${{ secrets.DOCKER_USERNAME }}/clock:latest + docker run -d -p 80:8080 --name alimo ${{ secrets.DOCKER_USERNAME }}/alimo:latest