Skip to content

Commit

Permalink
Update docker-image-builder.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
amrevill authored and GitHub Enterprise committed Mar 19, 2025
1 parent a700642 commit a81cc7f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/docker-image-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@ jobs:
# - name: Build the Docker image
# run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)

- name: Build Docker Image
run: |
docker build -t my-app:latest ./backend
# - name: Build Docker Image
# run: |
# docker build -t my-app:latest ./backend
# docker build -t my-app:latest .

- name: Build Backend Docker Image
run: docker build --network=host -t my-app:latest ./backend

# ✅ Stop & Remove Old Running Containers
- name: Stop & Remove Old Containers
Expand Down

0 comments on commit a81cc7f

Please sign in to comment.