mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-25 02:38:42 +08:00
5 lines
465 B
YAML
5 lines
465 B
YAML
- name: Check {{appname}} Version
|
|
shell: |
|
|
sudo echo "redmine version:" $(docker inspect redmine:$(docker images | grep redmine |awk '{print $2}') |grep -m 1 "REDMINE_VERSION"|cut -d'=' -f2|cut -d"\"" -f1) |sudo tee -a /data/logs/install_version.txt
|
|
sudo echo "mysql version:" $(docker inspect mysql:$(docker images | grep mysql |awk '{print $2}') |grep -m 1 "MYSQL_VERSION" |cut -d '=' -f 2 |cut -d '-' -f 1) |sudo tee -a /data/logs/install_version.txt
|