Browse Source

test

master
komarov 4 years ago
parent
commit
62ec6dd563
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      .drone.yml

+ 5
- 3
.drone.yml View File

@@ -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//\\//-}


Loading…
Cancel
Save