Skip to content

Commit 5eb8a24

Browse files
amish kohliamish kohli
authored andcommitted
ecs ci/cd
1 parent 33e7c6b commit 5eb8a24

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/aws.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,16 @@ jobs:
5757
.
5858
echo "image=058264122535.dkr.ecr.us-east-1.amazonaws.com/ponder/indexer:latest" >> $GITHUB_OUTPUT
5959
60+
- name: Download task definition
61+
run: |
62+
aws ecs describe-task-definition --task-definition ${{ env.ECS_TASK_DEFINITION }} \
63+
--query taskDefinition > task-definition.json
64+
6065
- name: Fill in the new image ID in the Amazon ECS task definition
6166
id: task-def
6267
uses: aws-actions/amazon-ecs-render-task-definition@v1
6368
with:
64-
task-definition: ${{ env.ECS_TASK_DEFINITION }}
69+
task-definition: task-definition.json
6570
container-name: ${{ env.CONTAINER_NAME }}
6671
image: ${{ steps.build-image.outputs.image }}
6772

0 commit comments

Comments
 (0)