.goreleaser.yaml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. project_name: plow
  2. builds:
  3. - env: [CGO_ENABLED=0]
  4. goos:
  5. - linux
  6. - windows
  7. - darwin
  8. goarch:
  9. - amd64
  10. - arm64
  11. dockers:
  12. - image_templates: ["ghcr.io/six-ddc/plow:{{ .Version }}"]
  13. dockerfile: Dockerfile
  14. build_flag_templates:
  15. - --label=org.opencontainers.image.title={{ .ProjectName }}
  16. - --label=org.opencontainers.image.description={{ .ProjectName }}
  17. - --label=org.opencontainers.image.url=https://github.com/six-ddc/plow
  18. - --label=org.opencontainers.image.source=https://github.com/six-ddc/plow
  19. - --label=org.opencontainers.image.version={{ .Version }}
  20. - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
  21. - --label=org.opencontainers.image.revision={{ .FullCommit }}
  22. - --label=org.opencontainers.image.licenses=Apache-2.0
  23. - image_templates: ["ghcr.io/six-ddc/plow"]
  24. dockerfile: Dockerfile
  25. build_flag_templates:
  26. - --label=org.opencontainers.image.title={{ .ProjectName }}
  27. - --label=org.opencontainers.image.description={{ .ProjectName }}
  28. - --label=org.opencontainers.image.url=https://github.com/six-ddc/plow
  29. - --label=org.opencontainers.image.source=https://github.com/six-ddc/plow
  30. - --label=org.opencontainers.image.version={{ .Version }}
  31. - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
  32. - --label=org.opencontainers.image.revision={{ .FullCommit }}
  33. - --label=org.opencontainers.image.licenses=Apache-2.0
  34. nfpms:
  35. - maintainer: six-ddc@github
  36. description: A high-performance HTTP benchmarking tool with real-time web UI and terminal displaying.
  37. homepage: https://github.com/six-ddc/plow
  38. license: Apache-2.0
  39. formats:
  40. - deb
  41. - rpm
  42. - apk