Parcourir la source

test 49

master
komarov il y a 4 ans
Parent
révision
6a6c050e47
1 fichiers modifiés avec 28 ajouts et 28 suppressions
  1. +28
    -28
      .drone.yml

+ 28
- 28
.drone.yml Voir le fichier

@@ -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
- 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

Chargement…
Annuler
Enregistrer