GraphQL API and utilities for the rpdata project
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.

38 lines
775 B

  1. name: rpdata-api
  2. kind: pipeline
  3. type: docker
  4. steps:
  5. - name: go-test
  6. image: golang:1.14
  7. commands:
  8. - go generate ./...
  9. - go test -v ./...
  10. - name: docker-release-tag
  11. image: plugins/docker
  12. settings:
  13. auto_tag: true
  14. username:
  15. from_secret: docker_username
  16. password:
  17. from_secret: docker_password
  18. repo: r.vmaple.dev/rpdata/rpdata-api
  19. registry: r.vmaple.dev
  20. when:
  21. event:
  22. - tag
  23. - name: docker-release-latest
  24. image: plugins/docker
  25. settings:
  26. auto_tag: false
  27. username:
  28. from_secret: docker_username
  29. password:
  30. from_secret: docker_password
  31. repo: r.vmaple.dev/rpdata/rpdata-api
  32. registry: r.vmaple.dev
  33. when:
  34. event:
  35. - tag