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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 

124 lines
2.5 KiB

  1. ---
  2. kind: pipeline
  3. name: linux-amd64
  4. platform:
  5. os: linux
  6. arch: amd64
  7. steps:
  8. - name: dryrun
  9. pull: always
  10. image: plugins/docker:linux-amd64
  11. settings:
  12. build_args:
  13. TTRSS_ORG_VERSION: "${DRONE_TAG##v}"
  14. TTRSS_VERSION: "${TTRSS_ORG_VERSION%.*}"
  15. dockerfile: ./Dockerfile.linux.amd64
  16. dry_run: true
  17. password:
  18. from_secret: docker_password
  19. repo: xoxys/ttrss
  20. tags: linux-amd64
  21. username:
  22. from_secret: docker_username
  23. - name: publish
  24. pull: always
  25. image: plugins/docker:linux-amd64
  26. settings:
  27. auto_tag: true
  28. auto_tag_suffix: linux-amd64
  29. build_args:
  30. TTRSS_ORG_VERSION: "${DRONE_TAG##v}"
  31. TTRSS_VERSION: "${TTRSS_ORG_VERSION%.*}"
  32. dockerfile: ./Dockerfile.linux.amd64
  33. password:
  34. from_secret: docker_password
  35. repo: xoxys/ttrss
  36. username:
  37. from_secret: docker_username
  38. when:
  39. ref:
  40. - refs/heads/master
  41. - "refs/tags/**"
  42. ---
  43. kind: pipeline
  44. name: notifications
  45. platform:
  46. os: linux
  47. arch: amd64
  48. steps:
  49. - name: manifest
  50. pull: always
  51. image: plugins/manifest
  52. settings:
  53. auto_tag: true
  54. ignore_missing: true
  55. password:
  56. from_secret: docker_password
  57. spec: ./manifest.tmpl
  58. username:
  59. from_secret: docker_username
  60. when:
  61. ref:
  62. - refs/heads/master
  63. - "refs/tags/**"
  64. - name: readme
  65. pull: always
  66. image: sheogorath/readme-to-dockerhub
  67. environment:
  68. DOCKERHUB_PASSWORD:
  69. from_secret: docker_password
  70. DOCKERHUB_REPO_NAME: ttrss
  71. DOCKERHUB_REPO_PREFIX: xoxys
  72. DOCKERHUB_USERNAME:
  73. from_secret: docker_username
  74. README_PATH: README.md
  75. SHORT_DESCRIPTION: Tiny Tiny RSS - Free and open source news feed reader and aggregator
  76. when:
  77. ref:
  78. - refs/heads/master
  79. - "refs/tags/**"
  80. - name: microbadger
  81. pull: always
  82. image: plugins/webhook
  83. settings:
  84. urls:
  85. from_secret: microbadger_url
  86. - name: matrix
  87. pull: always
  88. image: plugins/matrix
  89. settings:
  90. homeserver: https://matrix.rknet.org
  91. password:
  92. from_secret: matrix_password
  93. roomid: MtidqQXWWAtQcByBhH:rknet.org
  94. template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
  95. username:
  96. from_secret: matrix_username
  97. when:
  98. status:
  99. - success
  100. - failure
  101. trigger:
  102. status:
  103. - success
  104. - failure
  105. depends_on:
  106. - linux-amd64
  107. ---
  108. kind: signature
  109. hmac: dc21d353585f6faf703b81baa1265634b52543a981c2745f07859dcc41dcabf7
  110. ...