tailscale-dev / tclip

A pastebin for Tailscale users
BSD 3-Clause "New" or "Revised" License
154 stars 17 forks source link

go.mod, actions: use mkctr to build multi-arch builds #59

Closed Erisa closed 2 months ago

Erisa commented 4 months ago

Closes #54

A test manifest was published to ghcr.io/tailscale-dev/tclip:multiarch

Erisa commented 2 months ago

Updated ghcr.io/tailscale-dev/tclip:multiarch with new test version based on mkctr with command:

go run github.com/tailscale/mkctr --gopaths="./cmd/tclipd:/bin/tclipd" --tags="multiarch" --base="gcr.io/distroless/static" --repos=ghcr.io/tailscale-dev/tclip --push --ldflags="-w -s" -- /bin/tclipd

and tested working on amd64 and arm64.