From 47f7247fb3153ae37318de4d192e7e6a3bc254d2 Mon Sep 17 00:00:00 2001 From: fal7w <147312030+fal7w@users.noreply.github.com> Date: Sat, 16 Dec 2023 12:22:46 +0300 Subject: [PATCH] Update build_system_image.yml --- .github/workflows/build_system_image.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_system_image.yml b/.github/workflows/build_system_image.yml index 58a932ec..9fc6dfdd 100644 --- a/.github/workflows/build_system_image.yml +++ b/.github/workflows/build_system_image.yml @@ -45,8 +45,9 @@ jobs: echo "Random Port 1: $port1" cp example.env ~/gitops/${{ github.event.pull_request.head.ref }}.env sed -i 's/FRAPPE_SITE_NAME_HEADER=/FRAPPE_SITE_NAME_HEADER=${{ github.event.pull_request.head.ref }}/g' ~/gitops/${{ github.event.pull_request.head.ref }}.env - sed -i 's/PORTS=/PORTS= $port1 /g' ~/gitops/${{ github.event.pull_request.head.ref }}.env + echo "PORTS=$port1" >> ~/gitops/${{ github.event.pull_request.head.ref }}.env sed -i 's/DBPASSWORD=/DP=DBPASSWORD=${{ vars.MARIADB_PASSWORD }}/g' ~/gitops/${{ github.event.pull_request.head.ref }}.env + # sed -i 's/PORTS=/PORTS= $port1 /g' ~/gitops/${{ github.event.pull_request.head.ref }}.env # sed -i 's/DB_PASSWORD=123/DB_PASSWORD=${{ vars.MARIADB_PASSWORD }}/g' ~/gitops/${{ github.event.pull_request.head.ref }}.env # sed -i 's/DB_HOST=/DB_HOST=mariadb-database/g' ~/gitops/${{ github.event.pull_request.head.ref }}.env # sed -i 's/DB_PORT=/DB_PORT=3306/g' ~/gitops/${{ github.event.pull_request.head.ref }}.env