diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index d875d69..9534bc4 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -64,6 +64,11 @@ jobs: run: | docker push ${{ secrets.AWS_ACCOUNT_NUM }}.dkr.ecr.${{ env.REGION }}.amazonaws.com/sample:${{ steps.vars.outputs.sha_short }} + - name: Download task definition + run: | + aws ecs describe-task-definition --task-definition demo-tmcdapne2 --query taskDefinition > task-definition.json + + - name: Fill in the new image ID in the Amazon ECS task definition id: task-def uses: aws-actions/amazon-ecs-render-task-definition@v1