Skip to content

Commit

Permalink
Merge pull request #58 from tharoosha/tharoosha-patch-7
Browse files Browse the repository at this point in the history
Update docker-image.yml
  • Loading branch information
tharoosha authored Oct 29, 2023
2 parents 629376c + 2bee2a3 commit 26a3444
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@ jobs:
-
uses: actions/checkout@v3

-
name: Build and push Docker images using Docker Compose
run: |
docker-compose -f docker-compose.yml -p testing build
docker-compose -f docker-compose.yml -p testing push
env:
DOCKER_BUILDKIT: 1
working-directory: ${{ github.workspace }}

-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand All @@ -39,6 +30,19 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-

name: Build and push Backend image
working-directory: backend
run: |
docker build -t vihidun/backend:latest .
docker push vihidun/backend:latest
-
name: Build and push Frontend image
working-directory: frontend
run: |
docker build -t vihidun/frontend:latest .
docker push vihidun/frontend:latest

0 comments on commit 26a3444

Please sign in to comment.