You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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