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.

28 lines
654 B

  1. ---
  2. resources:
  3. - name: git-resource
  4. type: git
  5. icon: git
  6. source:
  7. uri: https://git.nulloctet.com/docker/terraform.git
  8. tag_filter: "*[0-9].*[0-9].*[0-9]"
  9. - name: image-dockerhub
  10. type: docker-image
  11. icon: docker
  12. source:
  13. repository: sothr/terraform
  14. username: ((hub_docker_write.username))
  15. password: ((hub_docker_write.password))
  16. jobs:
  17. - name: build-image-dockerhub
  18. plan:
  19. - get: git-resource
  20. trigger: true
  21. - put: image-dockerhub
  22. params:
  23. build: git-resource
  24. tag_file: git-resource/.git/ref
  25. tag_as_latest: false
  26. get_params: {skip_download: true}