Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

44 строки
951 B

  1. kind: pipeline
  2. type: docker
  3. name: build
  4. clone:
  5. disable: true
  6. steps:
  7. - name: clone
  8. image: drone/git
  9. environment:
  10. KEY:
  11. from_secret: DEPLOY_KEY
  12. commands:
  13. - echo "$KEY" > $HOME/.ssh/id_rsa
  14. - git clone ssh://git@gitea.torrion-vault.xyz:2222/Torrion/arbitry.git
  15. - git checkout $DRONE_COMMIT
  16. - name: build_php_base
  17. image: plugins/docker
  18. settings:
  19. dockerfile: docker/php/Dockerfile
  20. registry: localhost
  21. repo: arbitry_php_base
  22. dry_run: true
  23. insecure: true
  24. build_args:
  25. PHP_VERSION: 7.4.4
  26. - name: build_php_fpm
  27. image: plugins/docker
  28. settings:
  29. dockerfile: docker/php-fpm/Dockerfile
  30. registry: localhost
  31. repo: arbitry_php_fpm
  32. dry_run: true
  33. insecure: true
  34. build_args:
  35. PHP_VERSION: 7.4.4
  36. BUILD_IMAGE: arbitry_php_base
  37. depends_on:
  38. - build_php_base
  39. trigger:
  40. status:
  41. - success