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.

43 lines
1.3 KiB

  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: sothr/acm:latest
  32. tag_file: git-resource/.git/ref
  33. tag_as_latest: true
  34. get_params:
  35. skip_download: true
  36. - put: git-resource-image
  37. params:
  38. build: git-resource
  39. cache: sothr/acm:latest
  40. tag_file: git-resource/.git/ref
  41. tag_as_latest: true
  42. get_params:
  43. skip_download: true