From 6870d14c960a547deb22c6a317b9b41b57a575e8 Mon Sep 17 00:00:00 2001 From: Chris Rose Date: Wed, 6 Nov 2024 20:05:54 -0800 Subject: [PATCH] Release workflow --- .github/workflows/release.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..325c9c3 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,30 @@ +name: Publish Binaries on Release + +on: + release: + types: [created] + +permissions: + contents: write + packages: write + +jobs: + release-tailscale-s3-proxy: + strategy: + matrix: + os: + - linux + - darwin + arch: + - arm64 + - amd64 + name: release ${{ matrix.os }}/${{ matrix.arch}} + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: wangyoucao577/go-release-action@2aa2977ad6a4534f9179e22bd0ff146a1e1d3466 # v1.52 + with: + binary_name: tailscale-s3-proxy + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: ${{ matrix.os }} + goarch: ${{ matrix.arch }}