File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ jobs:
142142 id : build-image
143143 run : |
144144 IMAGE_TAG=${{ steps.meta.outputs.short_sha }}
145- ECR_IMAGE=${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/${{ env.ECR_REPOSITORY }}:$IMAGE_TAG
145+ ECR_IMAGE=${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/${{ secrets.ECR_REPOSITORY_NAME }}:$IMAGE_TAG
146146 docker build -t $ECR_IMAGE .
147147 echo "ECR_IMAGE=$ECR_IMAGE" >> $GITHUB_ENV
148148
@@ -159,7 +159,6 @@ jobs:
159159 run : |
160160 echo "Triggering ECS service update..."
161161 aws ecs update-service \
162- --cluster ${{ env.ECS_CLUSTER }} \
163- --service ${{ env.ECS_SERVICE }} \
162+ --cluster ${{ secrets.ECS_CLUSTER_NAME }} \
164163 --force-new-deployment \
165164 --region ${{ secrets.AWS_REGION }}
You can’t perform that action at this time.
0 commit comments