Skip to content

Commit

Permalink
release.yml: update task def with correct ecr repo
Browse files Browse the repository at this point in the history
  • Loading branch information
digorgonzola committed Nov 28, 2023
1 parent a7be1dc commit d1b63ce
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,17 @@ jobs:

- name: Get Current Task Definition
id: get-current-task-definition
run: |
aws ecs describe-task-definition --task-definition ${{ env.FAMILY }} --query taskDefinition > task-definition.json
run: >
aws ecs describe-task-definition --task-definition ${{ env.FAMILY }}
--query taskDefinition > task-definition.json
- name: Update API image tag
id: update-api-image-tag
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: task-definition.json
container-name: api
image: 450356697252.dkr.ecr.ap-southeast-2.amazonaws.com/nginx:${{ env.TAG }}
image: ${{ vars.ECR_REGISTRY }}/${{ vars.ECR_REPOSITORY }}:${{ env.TAG }}

- name: Display Rendered Template
if: ${{ env.ACT }}
Expand Down

0 comments on commit d1b63ce

Please sign in to comment.