Automated build pipeline that compiles amneziawg-go from a pinned upstream tag and publishes the resulting binary as a GitHub Release.
The upstream project ships source only — this repo turns a chosen release tag into a
ready-to-use linux/amd64 binary so you don't have to build it yourself.
The version to build is stored in the version file (e.g. v0.2.18). On every
push to main that changes version (or the workflow itself), the
release workflow:
- Reads the target tag from the
versionfile. - Skips the run if a release for that tag already exists.
- Clones
amneziawg-goat the matching tag. - Builds a static binary (
CGO_ENABLED=0,GOOS=linux,GOARCH=amd64) viamake. - Stages the binary together with its
.sha256checksum. - Publishes a GitHub Release named after the tag with both files attached.
The workflow can also be triggered manually from the Actions tab (workflow_dispatch).
- Update the
versionfile with the desired upstream tag. - Commit and push to
main. - The workflow builds and publishes the release automatically.
Grab the latest binary and checksum from the Releases page. Each release contains:
amneziawg-go-<version>-linux-amd64— the compiled binaryamneziawg-go-<version>-linux-amd64.sha256— its SHA-256 checksum
Verify the download with:
sha256sum -c amneziawg-go-<version>-linux-amd64.sha256BSD 3-Clause. Note this license covers the build tooling in this repository; the built binary is subject to the license of the upstream amneziawg-go project.