Skip to content

Commit

Permalink
add version to aws steps action
Browse files Browse the repository at this point in the history
  • Loading branch information
nato-re committed Feb 1, 2024
1 parent 6eb6587 commit 28c2a6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login
uses: aws-actions/amazon-ecr-login@2

- name: Build, tag, and push image to Amazon ECR
id: build-image
Expand All @@ -54,14 +54,14 @@ jobs:
- name: Fill in the new image ID in the Amazon ECS task definition
id: task-def
uses: aws-actions/amazon-ecs-render-task-definition
uses: aws-actions/amazon-ecs-render-task-definition@1
with:
task-definition: ${{ env.ECS_TASK_DEFINITION }}
container-name: ${{ env.CONTAINER_NAME }}
image: ${{ steps.build-image.outputs.image }}

- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@df9643053eda01f169e64a0e60233aacca83799a
uses: aws-actions/amazon-ecs-deploy-task-definition@1
with:
task-definition: ${{ steps.task-def.outputs.task-definition }}
service: ${{ env.ECS_SERVICE }}
Expand Down

0 comments on commit 28c2a6e

Please sign in to comment.