From 0f376d9db64036588afd2e0dda9970b00d371136 Mon Sep 17 00:00:00 2001 From: Tharoosha Vihidun <75856174+tharoosha@users.noreply.github.com> Date: Sun, 29 Oct 2023 18:00:53 +0530 Subject: [PATCH] Update docker-image.yml --- .github/workflows/docker-image.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index f769392..40e07a6 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -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 }}