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

0 comments on commit ebe3abd

Please sign in to comment.