Update pre.yml

This commit is contained in:
qiaofeng1227 2022-07-27 14:20:30 +08:00 committed by GitHub
parent 37d58e5779
commit 67e9e909f0
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)' {{installpath}}/{{appname}}/docker-compose.yml > /tmp/tmp.yml
cat {{installpath}}/{{appname}}/docker-compose.yml |yq eval 'del(.services.{{activemq_version}}.profiles)' > /tmp/tmp.yml
cat /tmp/tmp.yml > {{installpath}}/{{appname}}/docker-compose.yml
rm -f /tmp/tmp.yml