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 dc27e4d commit 6f3e3da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
- name: Build Backend Docker image
run: |
docker build --network=host -t jonafoll/backend:${{ github.sha }} ./backend
docker tag jonafoll/backend:${{ github.sha }} your-username/backend:latest
docker tag jonafoll/backend:${{ github.sha }} jonafoll/backend:latest
# Step 5: Build the Frontend Docker image
- name: Build Frontend Docker image
run: |
docker build --network=host -t your-username/frontend:${{ github.sha }} ./frontend
docker tag jonafoll/frontend:${{ github.sha }} your-username/frontend:latest
docker build --network=host -t jonafoll/frontend:${{ github.sha }} ./frontend
docker tag jonafoll/frontend:${{ github.sha }} jonafoll/frontend:latest
# Step 6: Push the Backend Docker image to Docker Hub
- name: Push Backend Docker image to Docker Hub
Expand Down

0 comments on commit 6f3e3da

Please sign in to comment.