From 98689284398ec6480b2a58d596361b6d554b58f4 Mon Sep 17 00:00:00 2001 From: Mohamed ER-Radi Date: Thu, 1 Feb 2024 23:08:08 +0100 Subject: [PATCH] fix build docker image in terraform workflow --- .github/workflows/terraform-staging.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/terraform-staging.yml b/.github/workflows/terraform-staging.yml index 2705146a2..c765705b3 100644 --- a/.github/workflows/terraform-staging.yml +++ b/.github/workflows/terraform-staging.yml @@ -51,6 +51,11 @@ jobs: run: echo "::set-output name=server_public_ip::$(cd terraform; terraform output server_public_ip)" if: success() + - name: Build Docker Image + run: | + docker build -t 1village . + if: success() + - name: Set up SSH key for EC2 uses: webfactory/ssh-agent@v0.8.0 with: