From acb33ad1ff18a29f4db55bff36a958b266da69c3 Mon Sep 17 00:00:00 2001 From: Michael McCracken Date: Mon, 3 Mar 2025 17:14:27 -0800 Subject: [PATCH] add release workflow Signed-off-by: Michael McCracken --- .github/workflows/release.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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..0ae69bd --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,21 @@ +on: + release: + types: [created] + +permissions: + contents: write + packages: write + +jobs: + release-linux-amd64: + name: release linux/amd64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: wangyoucao577/go-release-action@v1.53 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: linux + goarch: amd64 + build_command: make ociv + binary_name: ociv