mirror of
https://github.com/luxfi/mpc.git
synced 2026-09-24 00:26:24 +00:00
MPC and KMS are protocols, not products. The Go module path github.com/luxfi/mpc remains canonical (location), but user-facing strings (--help, README, comments, banners) are brand-neutral. 'Lux MPC' → 'MPC', 'Lux KMS' → 'KMS', 'Hanzo MPC' → 'MPC'.
189 lines
4.8 KiB
YAML
189 lines
4.8 KiB
YAML
version: 2
|
|
|
|
before:
|
|
hooks:
|
|
- go mod tidy
|
|
- go generate ./...
|
|
|
|
builds:
|
|
- id: mpcd
|
|
main: ./cmd/mpcd
|
|
binary: mpcd
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- darwin
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
ldflags:
|
|
- -s -w
|
|
- -X main.version={{.Version}}
|
|
- -X main.commit={{.Commit}}
|
|
- -X main.date={{.Date}}
|
|
- -X main.builtBy=goreleaser
|
|
|
|
- id: mpc
|
|
main: ./cmd/mpc
|
|
binary: mpc
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- darwin
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
ldflags:
|
|
- -s -w
|
|
- -X main.version={{.Version}}
|
|
- -X main.commit={{.Commit}}
|
|
- -X main.date={{.Date}}
|
|
- -X main.builtBy=goreleaser
|
|
|
|
archives:
|
|
- id: default
|
|
name_template: >-
|
|
{{ .ProjectName }}_
|
|
{{- title .Os }}_
|
|
{{- if eq .Arch "amd64" }}x86_64
|
|
{{- else if eq .Arch "386" }}i386
|
|
{{- else }}{{ .Arch }}{{ end }}
|
|
{{- if .Arm }}v{{ .Arm }}{{ end }}
|
|
files:
|
|
- README.md
|
|
- LICENSE
|
|
|
|
checksum:
|
|
name_template: 'checksums.txt'
|
|
|
|
snapshot:
|
|
name_template: "{{ incpatch .Version }}-next"
|
|
|
|
changelog:
|
|
sort: asc
|
|
use: github
|
|
filters:
|
|
exclude:
|
|
- '^docs:'
|
|
- '^test:'
|
|
- '^chore:'
|
|
- '^ci:'
|
|
- Merge pull request
|
|
- Merge remote-tracking branch
|
|
- Merge branch
|
|
groups:
|
|
- title: 'New Features'
|
|
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
|
|
order: 0
|
|
- title: 'Bug Fixes'
|
|
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
|
|
order: 1
|
|
- title: 'Performance Improvements'
|
|
regexp: '^.*?perf(\([[:word:]]+\))??!?:.+$'
|
|
order: 2
|
|
- title: 'Security Updates'
|
|
regexp: '^.*?sec(\([[:word:]]+\))??!?:.+$'
|
|
order: 3
|
|
- title: 'Protocol Updates'
|
|
regexp: '^.*?protocol(\([[:word:]]+\))??!?:.+$'
|
|
order: 4
|
|
- title: Others
|
|
order: 999
|
|
|
|
dockers:
|
|
- image_templates:
|
|
- "luxfi/mpc:{{ .Tag }}-amd64"
|
|
- "ghcr.io/luxfi/mpc:{{ .Tag }}-amd64"
|
|
dockerfile: Dockerfile
|
|
use: buildx
|
|
goarch: amd64
|
|
build_flag_templates:
|
|
- "--platform=linux/amd64"
|
|
- "--label=org.opencontainers.image.created={{.Date}}"
|
|
- "--label=org.opencontainers.image.title={{.ProjectName}}"
|
|
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
- "--label=org.opencontainers.image.source={{.GitURL}}"
|
|
- "--label=org.opencontainers.image.description=MPC - Threshold Signature Service"
|
|
- "--label=org.opencontainers.image.licenses=MIT"
|
|
- image_templates:
|
|
- "luxfi/mpc:{{ .Tag }}-arm64"
|
|
- "ghcr.io/luxfi/mpc:{{ .Tag }}-arm64"
|
|
dockerfile: Dockerfile
|
|
use: buildx
|
|
goarch: arm64
|
|
build_flag_templates:
|
|
- "--platform=linux/arm64"
|
|
- "--label=org.opencontainers.image.created={{.Date}}"
|
|
- "--label=org.opencontainers.image.title={{.ProjectName}}"
|
|
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
- "--label=org.opencontainers.image.source={{.GitURL}}"
|
|
- "--label=org.opencontainers.image.description=MPC - Threshold Signature Service"
|
|
- "--label=org.opencontainers.image.licenses=MIT"
|
|
|
|
docker_manifests:
|
|
- name_template: "luxfi/mpc:{{ .Tag }}"
|
|
image_templates:
|
|
- "luxfi/mpc:{{ .Tag }}-amd64"
|
|
- "luxfi/mpc:{{ .Tag }}-arm64"
|
|
- name_template: "luxfi/mpc:latest"
|
|
image_templates:
|
|
- "luxfi/mpc:{{ .Tag }}-amd64"
|
|
- "luxfi/mpc:{{ .Tag }}-arm64"
|
|
- name_template: "ghcr.io/luxfi/mpc:{{ .Tag }}"
|
|
image_templates:
|
|
- "ghcr.io/luxfi/mpc:{{ .Tag }}-amd64"
|
|
- "ghcr.io/luxfi/mpc:{{ .Tag }}-arm64"
|
|
- name_template: "ghcr.io/luxfi/mpc:latest"
|
|
image_templates:
|
|
- "ghcr.io/luxfi/mpc:{{ .Tag }}-amd64"
|
|
- "ghcr.io/luxfi/mpc:{{ .Tag }}-arm64"
|
|
|
|
nfpms:
|
|
- id: packages
|
|
package_name: mpcd
|
|
vendor: Lux Partners Limited
|
|
homepage: https://github.com/luxfi/mpc
|
|
maintainer: Lux Development Team <[email protected]>
|
|
description: |-
|
|
MPC - Multi-Party Computation Threshold Signature Service
|
|
Supporting both ECDSA (CMP/CGGMP21) and EdDSA (FROST) protocols
|
|
license: MIT
|
|
formats:
|
|
- deb
|
|
- rpm
|
|
- apk
|
|
dependencies:
|
|
- git
|
|
recommends:
|
|
- golang
|
|
bindir: /usr/bin
|
|
contents: []
|
|
|
|
release:
|
|
github:
|
|
owner: luxfi
|
|
name: mpc
|
|
draft: false
|
|
prerelease: auto
|
|
mode: replace
|
|
name_template: "{{.ProjectName}}-v{{.Version}}"
|
|
footer: |
|
|
---
|
|
|
|
### Container Images
|
|
|
|
- `docker pull luxfi/mpc:{{ .Tag }}`
|
|
- `docker pull ghcr.io/luxfi/mpc:{{ .Tag }}`
|
|
|
|
### Verifying Checksums
|
|
|
|
```bash
|
|
curl -L https://github.com/luxfi/mpc/releases/download/{{ .Tag }}/checksums.txt | sha256sum -c --ignore-missing
|
|
```
|
|
|
|
announce:
|
|
skip: false |