Update pre.yml

This commit is contained in:
qiaofeng1227 2022-07-26 11:50:30 +08:00 committed by GitHub
parent 3302c4b65b
commit fcd802bbf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,6 @@
- name: Config .env and docker-compose for start containers
shell: |
yq eval 'del(.services.{{activemq_version}}.profiles)' docker-compose.yml > tmp.yml
cat tmp.yml > docker-compose.yml
rm -f tmp.yml
yq eval 'del(.services.{{activemq_version}}.profiles)' {{installpath}}/{{appname}}/docker-compose.yml > /tmptmp.yml
cat /tmptmp.yml > {{installpath}}/{{appname}}/docker-compose.yml
rm -f /tmptmp.yml