From 6a6c050e472f96838a926d3aac2104467447ae91 Mon Sep 17 00:00:00 2001 From: komarov Date: Sun, 5 Apr 2020 22:25:21 +0300 Subject: [PATCH] test 49 --- .drone.yml | 56 +++++++++++++++++++++++++++--------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/.drone.yml b/.drone.yml index eac9dd3..de10312 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,31 +18,31 @@ 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 2222 -H 104.248.32.133 >> $HOME/.ssh/known_hosts && ssh-keyscan -p 2222 -H gitea.torrion-vault.xyz >> $HOME/.ssh/known_hosts - git clone ssh://git@gitea.torrion-vault.xyz:2222/Torrion/arbitry.git - - ls -la -# - name: build_php_base -# image: plugins/docker -# settings: -# dockerfile: docker/php/Dockerfile -# registry: localhost -# repo: arbitry_php_base -# dry_run: true -# insecure: true -# build_args: -# PHP_VERSION: 7.4.4 -# -# - name: build_php_fpm -# image: plugins/docker -# settings: -# dockerfile: docker/php-fpm/Dockerfile -# registry: localhost -# repo: arbitry_php_fpm -# dry_run: true -# insecure: true -# build_args: -# PHP_VERSION: 7.4.4 -# BUILD_IMAGE: arbitry_php_base -# depends_on: -# - build_php_base -# trigger: -# status: -# - success \ No newline at end of file + - cd arbitry && git checkout $DRONE_COMMIT + - name: build_php_base + image: plugins/docker + settings: + dockerfile: docker/php/Dockerfile + registry: localhost + repo: arbitry_php_base + dry_run: true + insecure: true + build_args: + PHP_VERSION: 7.4.4 + + - name: build_php_fpm + image: plugins/docker + settings: + dockerfile: docker/php-fpm/Dockerfile + registry: localhost + repo: arbitry_php_fpm + dry_run: true + insecure: true + build_args: + PHP_VERSION: 7.4.4 + BUILD_IMAGE: arbitry_php_base + depends_on: + - build_php_base + trigger: + status: + - success \ No newline at end of file