summaryrefslogtreecommitdiff
path: root/.github/workflows/go-releaser.yml
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-12-26 06:20:48 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-12-26 06:20:48 +0530
commit1be3ab5a61f4d8f1d06d3b99a864bba71dd2d9cc (patch)
tree95907cdc40bf5083ce81ab73e5ab67b58d4067bf /.github/workflows/go-releaser.yml
parent062990151484e7886ad4d82d395d29e00482d839 (diff)
Workflows & README: Adding workflow for docker image and binary releases, Updating TODO Status
Diffstat (limited to '.github/workflows/go-releaser.yml')
-rw-r--r--.github/workflows/go-releaser.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/go-releaser.yml b/.github/workflows/go-releaser.yml
new file mode 100644
index 0000000..6d0ac23
--- /dev/null
+++ b/.github/workflows/go-releaser.yml
@@ -0,0 +1,26 @@
+name: goreleaser
+
+on:
+ push:
+ tags:
+ - "v*"
+
+jobs:
+ goreleaser:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout Repository
+ uses: actions/checkout@v4
+
+ - name: Set up Go
+ uses: actions/setup-go@v4
+ with:
+ go-version: 1.21
+
+ - name: Run GoReleaser
+ uses: goreleaser/goreleaser-action@v5
+ with:
+ version: latest
+ args: release --clean
+ env:
+ GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}