komarov 4 lat temu
rodzic
commit
155c390107
1 zmienionych plików z 28 dodań i 28 usunięć
  1. +28
    -28
      .drone.yml

+ 28
- 28
.drone.yml Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz