From ad617222bd91f65cfe4144717d6918dd6c87dcdc Mon Sep 17 00:00:00 2001 From: manyb2ns Date: Fri, 22 Dec 2023 22:50:29 +0900 Subject: [PATCH] =?UTF-8?q?test:=20step=EB=B3=84=20=ED=95=B4=EC=8B=9C=20?= =?UTF-8?q?=EA=B0=92=20=ED=99=95=EC=9D=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ecr.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ecr.yml b/.github/workflows/ecr.yml index 3d95eba..a435953 100644 --- a/.github/workflows/ecr.yml +++ b/.github/workflows/ecr.yml @@ -56,6 +56,8 @@ jobs: - name: Publish Image to ECR(BATCH-SERVICE) run: | + echo ${{ github.sha }} + if [ "${{ env.DEPLOY_ENV }}" == "PROD" ]; then docker tag batch-service:latest ${{ env.AWS_PRD_BATCH_ECR }}:${{ github.sha }} docker push ${{ env.AWS_PRD_BATCH_ECR }}:${{ github.sha }} @@ -87,6 +89,8 @@ jobs: - name: Update Kustomize image run: | + echo ${{ github.sha }} + if [ "${{ env.DEPLOY_ENV }}" == "PROD" ]; then KUSTOMIZE_PATH="batch-service-kusto/overlays/prd" && cd $KUSTOMIZE_PATH kustomize edit set image app-batch-img="${{ env.AWS_PRD_BATCH_ECR }}:${{ github.sha }}"