Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tharoosha authored Oct 29, 2023
1 parent 629376c commit 0f376d9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@ jobs:
-
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
docker-compose -f docker-compose.yml build
docker tag backend-image vihidun/depresio_backend:latest
docker tag frontend-image vihidun/depresio_frontend:latest
docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }}
docker push vihidun/depresio_backend:latest
docker push vihidun/depresio_frontend:latest
env:
DOCKER_BUILDKIT: 1
working-directory: ${{ github.workspace }}
Expand Down

0 comments on commit 0f376d9

Please sign in to comment.