From 7bfd3859eaa2d59d1a5a25ee71e02c72f2282b35 Mon Sep 17 00:00:00 2001 From: Haroun Alarabi <109032469+HarounAlarabi@users.noreply.github.com> Date: Wed, 14 Feb 2024 19:08:29 +0000 Subject: [PATCH] Update backend-ec2-deploy.yml Signed-off-by: Haroun Alarabi <109032469+HarounAlarabi@users.noreply.github.com> --- .github/workflows/backend-ec2-deploy.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/backend-ec2-deploy.yml b/.github/workflows/backend-ec2-deploy.yml index 549dae806c..9e3235f4e7 100644 --- a/.github/workflows/backend-ec2-deploy.yml +++ b/.github/workflows/backend-ec2-deploy.yml @@ -20,8 +20,9 @@ jobs: - name: Build and push Docker image run: | - docker build -t harounalarabi/server - docker push harounalarabi/server:latest + docker build -t harounalarabi/server . + docker push harounalarabi/server:tagname + - name: Deploy to EC2