Tooling for managing asset compression, storage, and retrieval
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.

45 lines
1.3 KiB

2 years ago
2 years ago
  1. resources:
  2. - name: git-resource
  3. type: git
  4. icon: git
  5. source:
  6. uri: https://git.nulloctet.com/warricksothr/Asset-Compression-Manager.git
  7. tag_filter: '*[0-9].*[0-9].*[0-9]'
  8. - name: git-resource-image-nexus
  9. type: docker-image
  10. icon: docker
  11. source:
  12. repository: ((nexus_docker_write.host))/sothr/acm
  13. username: ((nexus_docker_write.username))
  14. password: ((nexus_docker_write.password))
  15. - name: git-resource-image
  16. type: docker-image
  17. icon: docker
  18. source:
  19. repository: sothr/acm
  20. username: ((hub_docker_write.username))
  21. password: ((hub_docker_write.password))
  22. jobs:
  23. - name: build-image
  24. plan:
  25. - get: git-resource
  26. trigger: true
  27. - in_parallel:
  28. - put: git-resource-image-nexus
  29. params:
  30. build: git-resource
  31. cache: true
  32. cache_tag: latest
  33. tag_file: git-resource/.git/ref
  34. tag_as_latest: true
  35. get_params:
  36. skip_download: true
  37. - put: git-resource-image
  38. params:
  39. build: git-resource
  40. cache: true
  41. cache_tag: latest
  42. tag_file: git-resource/.git/ref
  43. tag_as_latest: true
  44. get_params:
  45. skip_download: true