From 1f301b8ce8c3dad12ecdcd37fe42b0868538f71d Mon Sep 17 00:00:00 2001 From: Ivan <45982459+ivntsng@users.noreply.github.com> Date: Sun, 24 Nov 2024 01:41:33 -0800 Subject: [PATCH] ECR testing (#640) --- .github/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ea7a353e..fe83a987 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 . @@ -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