Skip to content

Commit

Permalink
removed unnecessary input parameters from task definition json
Browse files Browse the repository at this point in the history
  • Loading branch information
Priyanka-Inflectionzone committed Feb 2, 2024
1 parent 1584e2c commit fe1fc1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Update container image in task definition
run: |
jq '.containerDefinitions[0].image="443751504066.dkr.ecr.ap-south-1.amazonaws.com/reancare:${{ github.sha }}"' task-definition.json > new-task-definition.json
jq 'del(.taskDefinitionArn, .revision)' new-task-definition.json > modified-task-definition.json
jq 'del(.taskDefinitionArn, .revision, .status, .registeredAt, .registeredBy)' new-task-definition.json > modified-task-definition.json
cat modified-task-definition.json
mv modified-task-definition.json new-task-definition.json
cat new-task-definition.json
Expand Down

0 comments on commit fe1fc1c

Please sign in to comment.