Bladeren bron

test

master
komarov 4 jaren geleden
bovenliggende
commit
62ec6dd563
1 gewijzigde bestanden met toevoegingen van 5 en 3 verwijderingen
  1. +5
    -3
      .drone.yml

+ 5
- 3
.drone.yml Bestand weergeven

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


Laden…
Annuleren
Opslaan