correct forgot $

This commit is contained in:
Dryusdan 2017-06-30 11:04:47 +02:00
parent 61bae5143b
commit caf1a62a14
10 changed files with 11 additions and 11 deletions

View file

@ -4,7 +4,7 @@ services:
- docker:dind
before_script:
- apk -U add git
- apk -U add git ssh
- mkdir -p /root/.ssh
- echo $GITHUB_PRIVATE_KEY > /root/.ssh/id_rsa
- echo $GITHUB_PUBLIC_KEY > /root/.ssh/id_rsa.pub
@ -94,7 +94,7 @@ buildPeerTube:
- sh peertube/builder.sh
- cd /
- git clone git@github.com:Chocobozzz/PeerTube-Docker.git
- git clone ssh://git@git.drycat.fr:2022/Dryusdan/Dockerfiles.git
- git clone git@git.drycat.fr:2022/Dryusdan/Dockerfiles.git
- cp -R /Dockerfiles/peertube /PeerTube-Docker/production
- cd /Peertube-Docker/
- git add production/

View file

@ -3,7 +3,7 @@
COMMIT_ID=$(git log -n 1 --pretty=format:%H -- etherpad/)
LAST_COMMIT_ID=$(git log -n 1 --pretty=format:%H --)
if [ "COMMIT_ID" == "LAST_COMMIT_ID" ]; then
if [ "$COMMIT_ID" == "$LAST_COMMIT_ID" ]; then
echo "build image"
docker build -t registry.dryusdan.fr/dryusdan/etherpad etherpad/
echo "push image"

View file

@ -3,7 +3,7 @@
COMMIT_ID=$(git log -n 1 --pretty=format:%H -- nginx/)
LAST_COMMIT_ID=$(git log -n 1 --pretty=format:%H --)
if [ "COMMIT_ID" == "LAST_COMMIT_ID" ]; then
if [ "$COMMIT_ID" == "$LAST_COMMIT_ID" ]; then
echo "nginx build image"
docker build -t registry.dryusdan.fr/dryusdan/reverse-nginx --build-arg NGINX_CONF="--prefix=/nginx --sbin-path=/usr/local/sbin/nginx --http-log-path=/nginx/log/nginx_access.log --error-log-path=/nginx/log/nginx_error.log --pid-path=/nginx/run/nginx.pid --lock-path=/nginx/run/nginx.lock --user=reverse --group=reverse --with-http_ssl_module --with-http_v2_module --with-http_gzip_static_module --with-http_stub_status_module --with-threads --with-pcre-jit --with-ipv6 --without-http_ssi_module --without-http_scgi_module --without-http_uwsgi_module --without-http_geo_module --without-http_autoindex_module --without-http_split_clients_module --without-http_memcached_module --without-http_empty_gif_module --add-module=/tmp/headers-more-nginx-module --without-http_browser_module" github.com/xataz/docker-reverse-nginx
echo "push image"

View file

@ -3,7 +3,7 @@
COMMIT_ID=$(git log -n 1 --pretty=format:%H -- peertube/)
LAST_COMMIT_ID=$(git log -n 1 --pretty=format:%H --)
if [ "COMMIT_ID" == "LAST_COMMIT_ID" ]; then
if [ "$COMMIT_ID" == "$LAST_COMMIT_ID" ]; then
echo "build image"
docker build -t registry.dryusdan.fr/dryusdan/peertube peertube/
echo "push image"

View file

@ -3,7 +3,7 @@
COMMIT_ID=$(git log -n 1 --pretty=format:%H -- php/fuelphp/)
LAST_COMMIT_ID=$(git log -n 1 --pretty=format:%H --)
if [ "COMMIT_ID" == "LAST_COMMIT_ID" ]; then
if [ "$COMMIT_ID" == "$LAST_COMMIT_ID" ]; then
echo "build image"
docker build -t registry.dryusdan.fr/dryusdan/php:fuelPHP php/fuelphp/
echo "push image"

View file

@ -3,7 +3,7 @@
COMMIT_ID=$(git log -n 1 --pretty=format:%H -- php/grav/)
LAST_COMMIT_ID=$(git log -n 1 --pretty=format:%H --)
if [ "COMMIT_ID" == "LAST_COMMIT_ID" ]; then
if [ "$COMMIT_ID" == "$LAST_COMMIT_ID" ]; then
echo "build image"
docker build -t registry.dryusdan.fr/dryusdan/php:grav php/grav/
echo "push image"

View file

@ -3,7 +3,7 @@
COMMIT_ID=$(git log -n 1 --pretty=format:%H -- presentator)
LAST_COMMIT_ID=$(git log -n 1 --pretty=format:%H --)
if [ "COMMIT_ID" == "LAST_COMMIT_ID" ]; then
if [ "$COMMIT_ID" == "$LAST_COMMIT_ID" ]; then
echo "build image"
docker build -t registry.dryusdan.fr/dryusdan/presentator presentator/
echo "push image"

View file

@ -3,7 +3,7 @@
COMMIT_ID=$(git log -n 1 --pretty=format:%H -- standardfile/)
LAST_COMMIT_ID=$(git log -n 1 --pretty=format:%H --)
if [ "COMMIT_ID" == "LAST_COMMIT_ID" ]; then
if [ "$COMMIT_ID" == "$LAST_COMMIT_ID" ]; then
echo "build image"
docker build -t registry.dryusdan.fr/dryusdan/etherpad standarfile/
echo "push image"

View file

@ -3,7 +3,7 @@
COMMIT_ID=$(git log -n 1 --pretty=format:%H -- standardnotes/)
LAST_COMMIT_ID=$(git log -n 1 --pretty=format:%H --)
if [ "COMMIT_ID" == "LAST_COMMIT_ID" ]; then
if [ "$COMMIT_ID" == "$LAST_COMMIT_ID" ]; then
echo "build image"
docker build -t registry.dryusdan.fr/dryusdan/presentator standardnotes/
echo "push image"

View file

@ -3,7 +3,7 @@
COMMIT_ID=$(git log -n 1 --pretty=format:%H -- z2pdf/)
LAST_COMMIT_ID=$(git log -n 1 --pretty=format:%H --)
if [ "COMMIT_ID" == "LAST_COMMIT_ID" ]; then
if [ "$COMMIT_ID" == "$LAST_COMMIT_ID" ]; then
echo "build image"
docker build -t registry.dryusdan.fr/dryusdan/presentator z2pdf/
echo "push image"