File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -43,20 +43,20 @@ jobs:
4343 - name : Build, tag, and push image to Amazon ECR
4444 id : build-image
4545 env :
46- ECR_REGISTRY : ${{ steps.login-ecr.outputs.registry }}
47- IMAGE_TAG : ${{ github.sha }}
46+ ECR_REGISTRY : ${{ steps.login-ecr.outputs.registry }}
47+ IMAGE_TAG : ${{ github.sha }}
4848 run : |
49- docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
50- docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
51- echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT
49+ docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
50+ docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
51+ echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT
5252
5353 - name : Update Amazon ECS task definition with new image
5454 id : task-def
5555 uses : aws-actions/amazon-ecs-render-task-definition@v1
5656 with :
57- task-definition : ${{ env.ECS_TASK_DEFINITION }}
58- container-name : ${{ env.CONTAINER_NAME }}
59- image : ${{ steps.build-image.outputs.image }}
57+ task-definition : ${{ env.ECS_TASK_DEFINITION }}
58+ container-name : ${{ env.CONTAINER_NAME }}
59+ image : ${{ steps.build-image.outputs.image }}
6060
6161 - name : Deploy Amazon ECS task definition
6262 uses : aws-actions/amazon-ecs-deploy-task-definition@v1
You can’t perform that action at this time.
0 commit comments