Skip to content

Commit

Permalink
add(ci): steps to deploy the kcoid4vci image to ECS #24
Browse files Browse the repository at this point in the history
  • Loading branch information
ArmandMeppa committed Apr 24, 2024
1 parent 72e7b2d commit 5391a1f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,19 @@ jobs:
repo: ${{ env.IMAGE_NAME }}
registry: ${{ env.REGISTRY }}
region: ${{ secrets.AWS_REGION }}

- name: Fill in the new image ID in the Amazon ECS task definition
id: task-def
uses: aws-actions/amazon-ecs-render-task-definition@c804dfbdd57f713b6c079302a4c01db7017a36fc
with:
task-definition: ${{ env.ECS_TASK_DEFINITION }}
container-name: ${{ env.CONTAINER_NAME }}
image: ${{ steps.login-ecr.outputs.registry }}/${{ env.IMAGE_NAME }}

- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@df9643053eda01f169e64a0e60233aacca83799a
with:
task-definition: ${{ steps.task-def.outputs.task-definition }}
service: ${{ env.ECS_SERVICE }}
cluster: ${{ env.ECS_CLUSTER }}
wait-for-service-stability: true

0 comments on commit 5391a1f

Please sign in to comment.