From 62ec6dd5638ea0a42c170de435d14cec60b14f32 Mon Sep 17 00:00:00 2001 From: komarov Date: Sat, 18 Apr 2020 20:31:31 +0300 Subject: [PATCH] test --- .drone.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 727079b..ccf7a2e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -25,14 +25,15 @@ steps: - 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_COMMIT + - git checkout $DRONE_BRANCH - name: build_php_base image: plugins/docker settings: dockerfile: docker/php/Dockerfile registry: registry:5000 - repo: registry:5000/arbitry_php_base:${DRONE_BRANCH//\\//-} + repo: registry:5000/arbitry_php_base + tags: ${DRONE_BRANCH//\\//-} insecure: true build_args: - PHP_VERSION=7.4.4 @@ -47,7 +48,8 @@ steps: settings: dockerfile: docker/php-fpm/Dockerfile registry: registry:5000 - repo: registry:5000/arbitry_php_fpm:${DRONE_BRANCH//\\//-} + repo: registry:5000/arbitry_php_fpm + tags: ${DRONE_BRANCH//\\//-} insecure: true build_args: - BUILD_IMAGE=registry:5000/arbitry_php_base:${DRONE_BRANCH//\\//-}