From b6ba939583083270367fd7f51807f0d8366ba557 Mon Sep 17 00:00:00 2001 From: komarov Date: Sun, 19 Apr 2020 00:17:08 +0300 Subject: [PATCH] test --- .drone.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index e75b889..778a652 100644 --- a/.drone.yml +++ b/.drone.yml @@ -36,15 +36,16 @@ steps: - mkdir $HOME/.ssh && echo "$KEY" > $HOME/.ssh/id_rsa && chmod 600 $HOME/.ssh/id_rsa && echo "$PUBLIC" > $HOME/.ssh/id_rsa.pub - ssh-add $HOME/.ssh/id_rsa - ssh-keyscan -p $GIT_PORT -H $GIT_HOST > $HOME/.ssh/known_hosts - - git clone $GIT_REPOSITORY ./ - - git checkout $DRONE_BRANCH + - git clone $GIT_REPOSITORY arbitry + - cd arbitry && git checkout $DRONE_BRANCH && rm -rf .git - name: build_php_base image: plugins/docker settings: storage_path: /drone/docker use_cache: true - dockerfile: docker/php/Dockerfile + dockerfile: arbitry/docker/php/Dockerfile + context: arbitry registry: registry:5000 repo: registry:5000/arbitry_php_base tags: ${DRONE_BRANCH//\\//-} @@ -62,7 +63,7 @@ steps: settings: storage_path: /drone/docker use_cache: true - dockerfile: docker/php-fpm/Dockerfile + dockerfile: arbitry/docker/php-fpm/Dockerfile registry: registry:5000 repo: registry:5000/arbitry_php_fpm tags: ${DRONE_BRANCH//\\//-}