diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e7549b9..f3428ae 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -65,4 +65,4 @@ jobs: ${{ env.ECR_REGISTRY_PREFIX }}${{ inputs.ecr-repository-name }} \ ${{ inputs.image-tag }} \ ${{ inputs.spring-profile }} && - echo "image-url=${{ env.ECR_REGISTRY_PREFIX }}${{ inputs.ecr-repository-name }}" >> $GITHUB_OUTPUT + echo "image-url=${{ inputs.ecr-repository-name }}:${{ inputs.image-tag }}" >> $GITHUB_OUTPUT diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index b547d31..c106d77 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -50,7 +50,7 @@ jobs: with: task-definition: task-definition.json container-name: api - image: "${{ inputs.image-url }}" + image: "${{ secrets.AWS_ECR_REGISTRY_URL }}/${{ inputs.image-url }}" - name: AWS 태스크 정의 배포하고 서비스 업데이트하기 uses: aws-actions/amazon-ecs-deploy-task-definition@v1