diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 61990c8..cc09255 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -21,14 +21,14 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - # Build the Docker image + # Build the Docker image with a lowercase tag - name: Build Docker image - run: docker build -t StudyWizApp . + run: docker build -t studywizapp . - # Tag the Docker image + # Tag the Docker image for Docker Hub with a lowercase name - name: Tag Docker image - run: docker tag StudyWizApp:latest ${{ secrets.DOCKER_USERNAME }}/StudyWizApp:latest + run: docker tag studywizapp:latest ${{ secrets.DOCKER_USERNAME }}/studywizapp:latest # Push the Docker image to Docker Hub - name: Push Docker image to Docker Hub - run: docker push ${{ secrets.DOCKER_USERNAME }}/StudyWizApp:latest + run: docker push ${{ secrets.DOCKER_USERNAME }}/studywizapp:latest