From e7dab91c396807076be4953aa7b2a05d1227953a Mon Sep 17 00:00:00 2001 From: dl-00-e8 Date: Sun, 9 Feb 2025 19:37:28 +0900 Subject: [PATCH] =?UTF-8?q?[#294]=20chore:=20=EC=9D=B8=ED=94=84=EB=9D=BC?= =?UTF-8?q?=20=EB=A7=88=EC=9D=B4=EA=B7=B8=EB=A0=88=EC=9D=B4=EC=85=98?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EC=9D=B8=ED=95=9C=20Workflow=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release-blue-green.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-blue-green.yml b/.github/workflows/release-blue-green.yml index 8a924df..35e6e2c 100644 --- a/.github/workflows/release-blue-green.yml +++ b/.github/workflows/release-blue-green.yml @@ -86,8 +86,8 @@ jobs: key: ${{ secrets.SSH_PRIVATE_KEY }} script: | aws ecr get-login-password --region ${{ env.AWS_REGION }} | docker login --username AWS --password-stdin ${{ steps.login-ecr.outputs.registry }}/${{ env.ECR_REPOSITORY }} - sudo docker pull ${{ steps.login-ecr.outputs.registry }}/${{ env.ECR_REPOSITORY }}:${{ env.GITHUB_SHA }} - sudo docker tag ${{ steps.login-ecr.outputs.registry }}/${{ env.ECR_REPOSITORY }}:${{ env.GITHUB_SHA }} ${{ secrets.DOCKER_IMAGE_NAME }} + docker pull ${{ steps.login-ecr.outputs.registry }}/${{ env.ECR_REPOSITORY }}:${{ env.GITHUB_SHA }} + docker tag ${{ steps.login-ecr.outputs.registry }}/${{ env.ECR_REPOSITORY }}:${{ env.GITHUB_SHA }} ${{ secrets.DOCKER_IMAGE_NAME }} cd ~ sudo chmod +x deploy.sh ./deploy.sh \ No newline at end of file