diff options
Diffstat (limited to 'yeetfile.js')
| -rw-r--r-- | yeetfile.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/yeetfile.js b/yeetfile.js index 5795555..145cd7a 100644 --- a/yeetfile.js +++ b/yeetfile.js @@ -20,6 +20,8 @@ programs = [ $`ko build --platform=all --base-import-paths --tags=latest,${git.tag()} ./cmd/{${programs}}`; +yeet.setenv("CGO_ENABLED", "0"); + ["amd64", "arm64"].forEach(goarch => { [deb, rpm, tarball].forEach(method => { method.build({ @@ -72,6 +74,22 @@ $`ko build --platform=all --base-import-paths --tags=latest,${git.tag()} ./cmd/{ }); method.build({ + name: "relayd", + description: "TLS termination and client fingerprinting", + homepage: "https://within.website", + license: "CC0", + goarch, + + documentation: { + "LICENSE": "LICENSE", + }, + + build: ({ bin }) => { + $`go build -o ${bin}/relayd -ldflags '-s -w -extldflags "-static" -X "within.website/x.Version=${git.tag()}"' ./cmd/relayd` + }, + }); + + method.build({ name: "uploud", description: "Upload images to the cloud!", homepage: "https://within.website", |
