Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

41 linhas
848 B

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