From d65d87584726b0780306216dd155c5ef603fd1e6 Mon Sep 17 00:00:00 2001 From: sharath <29162020+tnfssc@users.noreply.github.com> Date: Tue, 27 May 2025 16:24:53 +0000 Subject: [PATCH] ci(docker): update workflow to build, push, and deploy Docker images --- .github/workflows/docker-build.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 461d3c91..cc60917e 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -1,4 +1,4 @@ -name: Build and Push Docker Image +name: Build, push and deploy on: push: @@ -63,8 +63,7 @@ jobs: script: | cd /home/suna/backend git pull - # docker compose up -d --build - ls -al + docker compose up -d --build - name: Deploy to prod if: steps.get_tag_name.outputs.environment == 'prod' @@ -76,5 +75,4 @@ jobs: script: | cd /home/suna/backend git pull - # docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d - ls -al + docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d --build