diff --git a/.github/workflows/core-application-prod-ci-cd-flow.yml b/.github/workflows/core-application-prod-ci-cd-flow.yml index f393e3c05..0ce4622dd 100644 --- a/.github/workflows/core-application-prod-ci-cd-flow.yml +++ b/.github/workflows/core-application-prod-ci-cd-flow.yml @@ -128,7 +128,7 @@ jobs: aws ecr get-login-password --region ${{ secrets.AWS_REGION }} | docker login --username ${{ secrets.AWS_PROD_CORE_DOCKER_USER }} --password-stdin ${{ secrets.AWS_PROD_CORE_USER_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com docker image prune -f docker pull ${{ steps.meta.outputs.tags }} - docker run -d -p 8080:8080 -e ENVIRONMENT=container --name core --network ec2-user_backend ${{ steps.meta.outputs.tags }} + docker run -d -p 8080:8080 -e ENVIRONMENT=prod --name core --network ec2-user_backend ${{ steps.meta.outputs.tags }} - name: Remove Github Actions IP from security group if: always() diff --git a/.github/workflows/notification-application-prod-ci-cd-flow.yml b/.github/workflows/notification-application-prod-ci-cd-flow.yml index fba12b86e..9e9bf003e 100644 --- a/.github/workflows/notification-application-prod-ci-cd-flow.yml +++ b/.github/workflows/notification-application-prod-ci-cd-flow.yml @@ -128,7 +128,7 @@ jobs: aws ecr get-login-password --region ${{ secrets.AWS_REGION }} | docker login --username ${{ secrets.AWS_PROD_NOTIFICATION_DOCKER_USER }} --password-stdin ${{ secrets.AWS_PROD_NOTIFICATION_USER_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com docker image prune -f docker pull ${{ steps.meta.outputs.tags }} - docker run -d -p 8081:8081 -e ENVIRONMENT=container --name notification --network ec2-user_backend ${{ steps.meta.outputs.tags }} + docker run -d -p 8081:8081 -e ENVIRONMENT=prod --name notification --network ec2-user_backend ${{ steps.meta.outputs.tags }} - name: Remove Github Actions IP from security group if: always()