Skip to content

Commit

Permalink
Update build-docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jifollan authored and GitHub Enterprise committed Mar 3, 2025
1 parent ebe3abd commit dc27e4d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@ jobs:
- name: Build Frontend Docker image
run: |
docker build --network=host -t your-username/frontend:${{ github.sha }} ./frontend
docker tag your-username/frontend:${{ github.sha }} your-username/frontend:latest
docker tag jonafoll/frontend:${{ github.sha }} your-username/frontend:latest
# Step 6: Push the Backend Docker image to Docker Hub
- name: Push Backend Docker image to Docker Hub
run: |
docker push your-username/backend:${{ github.sha }}
docker push your-username/backend:latest
docker push jonafoll/backend:${{ github.sha }}
docker push jonafoll/backend:latest
# Step 7: Push the Frontend Docker image to Docker Hub
- name: Push Frontend Docker image to Docker Hub
run: |
docker push your-username/frontend:${{ github.sha }}
docker push your-username/frontend:latest
docker push jonafoll/frontend:${{ github.sha }}
docker push jonafoll/frontend:latest

0 comments on commit dc27e4d

Please sign in to comment.