Skip to content

Commit

Permalink
Update docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pragadeeswar84 authored Jan 10, 2025
1 parent 67b78df commit 85c1ec2
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,7 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

# Step 4: Build the Docker image
- name: Build Docker image
# Step 4: Build and Push the Docker image
- name: Build and Push Docker image
run: |
docker buildx build -t ${{ secrets.DOCKER_USERNAME }}/cd3:latest .
# Step 5: Push Docker image to Docker Hub
- name: Push Docker image
run: |
docker push ${{ secrets.DOCKER_USERNAME }}/cd3:latest
docker buildx build --push -t ${{ secrets.DOCKER_USERNAME }}/cd3:latest .

0 comments on commit 85c1ec2

Please sign in to comment.