mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-23 16:25:09 +00:00
Update build_system_image.yml
This commit is contained in:
parent
41a9e57a22
commit
79b396e220
1 changed files with 1 additions and 2 deletions
3
.github/workflows/build_system_image.yml
vendored
3
.github/workflows/build_system_image.yml
vendored
|
|
@ -39,12 +39,11 @@ jobs:
|
|||
# Generate random ports between 1024 and 65535
|
||||
port1=$((RANDOM%64311+1024))
|
||||
# echo "Random Port 1: $port1"
|
||||
|
||||
#sed -i 's/PORTS=/PORTS=$port1/g' ~/gitops/${{ github.event.pull_request.head.ref }}.env
|
||||
- name: Create first bench
|
||||
run: |
|
||||
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' ~/${{ 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/PASSWORD=/PASSWORD=${{ vars.MARIADB_PASSWORD }}/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
|
||||
|
|
|
|||
Loading…
Reference in a new issue