Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
|
- kind: pipeline
- type: docker
- name: build
-
- clone:
- disable: true
-
- steps:
- - name: clone
- image: docker:git
- environment:
- KEY:
- from_secret: DEPLOY_KEY
- PUBLIC:
- from_secret: DEPLOY_KEY_PUBLIC
- commands:
- - eval $(ssh-agent)
- - 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 -t rsa gitea.torrion-vault.xyz >> $HOME/.ssh/known_hosts
- - git clone https://gitea.torrion-vault.xyz/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
|