mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 23:50:31 +00:00
Update pre.yml
This commit is contained in:
parent
8b996eabb3
commit
2f7dd8074e
1 changed files with 6 additions and 6 deletions
|
@ -18,9 +18,9 @@
|
|||
- debug:
|
||||
msg: "baota_version is {{baota_version}}"
|
||||
|
||||
- name: Config .env and docker-compose for start containers
|
||||
shell: |
|
||||
sed -i 's/APP_REPO=.*/APP_REPO={{baota_version}}/g' {{installpath}}/{{appname}}/.env
|
||||
yq eval 'del(.services.{{baota_version.split("/")[0] }}.profiles)' docker-compose.yml > tmp.yml
|
||||
cat tmp.yml > docker-compose.yml
|
||||
rm -f tmp.yml
|
||||
- name: Config .env and docker-compose for start containers
|
||||
shell: |
|
||||
sed -i 's/APP_REPO=.*/APP_REPO={{baota_version}}/g' {{installpath}}/{{appname}}/.env
|
||||
yq eval 'del(.services.{{baota_version.split("/")[0] }}.profiles)' docker-compose.yml > tmp.yml
|
||||
cat tmp.yml > docker-compose.yml
|
||||
rm -f tmp.yml
|
||||
|
|
Loading…
Reference in a new issue