Using HTTPS instead of SSH to query Git repo so the SSH key is not needed.

This commit is contained in:
yohan 2019-12-04 11:09:25 +01:00
parent db3b7b6ff7
commit c1aee48deb

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
unset VERSION_APACHE_FPM unset VERSION_APACHE_FPM
unset VERSION_PHP_FPM unset VERSION_PHP_FPM
VERSION_APACHE_FPM=$(git ls-remote ssh://git@git.scimetis.net:2222/yohan/docker-apache-for-fpm.git| head -1 | cut -f 1|cut -c -10) \ VERSION_APACHE_FPM=$(git ls-remote https://git.scimetis.net/yohan/docker-apache-for-fpm.git| head -1 | cut -f 1|cut -c -10) \
VERSION_PHP_FPM=$(git ls-remote ssh://git@git.scimetis.net:2222/yohan/docker-php5-fpm.git| head -1 | cut -f 1|cut -c -10) \ VERSION_PHP_FPM=$(git ls-remote https://git.scimetis.net/yohan/docker-php5-fpm.git| head -1 | cut -f 1|cut -c -10) \
sudo -E bash -c 'docker-compose up -d' sudo -E bash -c 'docker-compose up -d'