komarov пре 4 година
родитељ
комит
62ec6dd563
1 измењених фајлова са 5 додато и 3 уклоњено
  1. +5
    -3
      .drone.yml

+ 5
- 3
.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//\\//-}


Loading…
Откажи
Сачувај