diff --git a/.github/workflows/core-application-prod-ci-cd-flow.yml b/.github/workflows/core-application-prod-ci-cd-flow.yml index 696e86984..f393e3c05 100644 --- a/.github/workflows/core-application-prod-ci-cd-flow.yml +++ b/.github/workflows/core-application-prod-ci-cd-flow.yml @@ -4,6 +4,7 @@ on: push: branches: - prod_back_core + - build/cicd-prod-B-#580 - 'hotfix/[0-9a-zA-z]+-B-prod-core-#[0-9a-zA-z]+' pull_request: branches: @@ -127,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 test_backend ${{ steps.meta.outputs.tags }} + docker run -d -p 8080:8080 -e ENVIRONMENT=container --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 ee9dcd5a2..fba12b86e 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 test_backend ${{ steps.meta.outputs.tags }} + docker run -d -p 8081:8081 -e ENVIRONMENT=container --name notification --network ec2-user_backend ${{ steps.meta.outputs.tags }} - name: Remove Github Actions IP from security group if: always()