Skip to content

Commit

Permalink
ECR testing (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivntsng authored Nov 24, 2024
1 parent a166060 commit 1f301b8
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 @@ -87,8 +87,8 @@ jobs:

- name: Build and push Docker image
env:
ECR_REGISTRY: ${{ secrets.ECR_REGISTRY }}
ECR_REPOSITORY: ${{ secrets.ECR_REPOSITORY }}
ECR_REGISTRY: ${{ secrets.ECR_REGISTRY_TEST }}
ECR_REPOSITORY: ${{ secrets.ECR_REPOSITORY_TEST }}
IMAGE_TAG: latest
run: |
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f docker/Dockerfile .
Expand All @@ -105,7 +105,7 @@ jobs:
with:
task-definition: task-definition.json
container-name: ${{ secrets.CONTAINER_NAME }}
image: ${{ secrets.ECR_REGISTRY }}/${{ secrets.ECR_REPOSITORY }}:latest
image: ${{ secrets.ECR_REGISTRY_TEST }}/${{ secrets.ECR_REPOSITORY_TEST }}:latest

- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
Expand Down

0 comments on commit 1f301b8

Please sign in to comment.