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.

31 lines
742 B

4 years ago
4 years ago
  1. ---
  2. resources:
  3. - name: git-resource
  4. type: git
  5. icon: git
  6. source:
  7. uri: https://git.nulloctet.com/docker/ytt.git
  8. ignore_paths:
  9. - upload_pipeline.sh
  10. - README.md
  11. - name: git-resource-image
  12. type: docker-image
  13. icon: docker
  14. source:
  15. repository: ((nexus_docker_write.host))/sothr/ytt
  16. username: ((nexus_docker_write.username))
  17. password: ((nexus_docker_write.password))
  18. jobs:
  19. - name: build-image
  20. plan:
  21. - get: git-resource
  22. trigger: true
  23. - put: git-resource-image
  24. params:
  25. build: git-resource
  26. build_args:
  27. YTT_VERSION: v0.27.2
  28. tag_file: git-resource/tag
  29. tag_as_latest: true
  30. get_params: {skip_download: true}