Update pre.yml

This commit is contained in:
qiaofeng1227 2022-07-26 10:49:20 +08:00 committed by GitHub
parent 07d9ca139c
commit e9f9be34fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@
- 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.aapanel.profiles)' docker-compose.yml > tmp.yml
yq eval 'del(.services.btpanel.profiles)' docker-compose.yml > tmp.yml
cat tmp.yml > docker-compose.yml
rm -f tmp.yml
when: baota_version == "btpanel/baota"