Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Aniket8195 authored Nov 3, 2024
1 parent 6bac2cc commit 84d35c1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 84d35c1

Please sign in to comment.