Update pre.yml

This commit is contained in:
qiaofeng1227 2022-07-25 16:26:40 +08:00 committed by GitHub
parent 39766c0169
commit 3570d4e99b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,9 +39,9 @@
- name: Config .env and docker-compose for start containers
shell: |
sed -i 's/APP_VERSION=.*/APP_VERSION={{oracle_version}}/g' {{installpath}}/{{appname}}/.env
yq eval 'del(.services.oracleex.profiles)' docker-compose.yml > tmp.yml
cat tmp.yml > docker-compose.yml
rm -f tmp.yml
cat {{installpath}}/{{appname}}/docker-compose.yml |yq eval 'del(.services.oracleex.profiles)' > /tmp/tmp.yml
cat /tmp/tmp.yml > docker-compose.yml
rm -f /tmp/tmp.yml
when: oracle_edition == "express"
- block: