diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 81094b8..c397baa 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -37,7 +37,7 @@ jobs: - name: Login to Amazon ECR id: login-ecr - uses: aws-actions/amazon-ecr-login + uses: aws-actions/amazon-ecr-login@2 - name: Build, tag, and push image to Amazon ECR id: build-image @@ -54,14 +54,14 @@ jobs: - name: Fill in the new image ID in the Amazon ECS task definition id: task-def - uses: aws-actions/amazon-ecs-render-task-definition + uses: aws-actions/amazon-ecs-render-task-definition@1 with: task-definition: ${{ env.ECS_TASK_DEFINITION }} container-name: ${{ env.CONTAINER_NAME }} image: ${{ steps.build-image.outputs.image }} - name: Deploy Amazon ECS task definition - uses: aws-actions/amazon-ecs-deploy-task-definition@df9643053eda01f169e64a0e60233aacca83799a + uses: aws-actions/amazon-ecs-deploy-task-definition@1 with: task-definition: ${{ steps.task-def.outputs.task-definition }} service: ${{ env.ECS_SERVICE }}