From 0a533f60ce4e1dc0e596d4b52d26fa9171af7ea3 Mon Sep 17 00:00:00 2001 From: "kuma.jung" Date: Sun, 25 Aug 2024 15:28:03 +0900 Subject: [PATCH] describe task def --- .github/workflows/gradle.yml | 5 +++++ 1 file changed, 5 insertions(+) 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