Skip to content

Commit

Permalink
fix cicd script
Browse files Browse the repository at this point in the history
  • Loading branch information
milanogrizovic committed Oct 18, 2024
1 parent 9b12305 commit e393351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
SHA="${{ needs.build.outputs.commit_sha }}"
export TASK_DEFINITION=$(cat deployment-config/ecs-task-definition.json)
export UPDATED_TASK_DEFINITION=$(echo $TASK_DEFINITION | jq \
--arg IMAGE "${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ env.AWS_REGION }}.amazonaws.com/${{ env.APPLICATION_NAME }}:$SHA"
--arg IMAGE "${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ env.AWS_REGION }}.amazonaws.com/${{ env.APPLICATION_NAME }}:$SHA")
echo $UPDATED_TASK_DEFINITION > new-task-def.json
aws ecs register-task-definition --cli-input-json file://new-task-def.json
Expand Down

0 comments on commit e393351

Please sign in to comment.