Skip to content

Merge pull request #53 from guptarohit/guptarohit-patch-2 #21

Merge pull request #53 from guptarohit/guptarohit-patch-2

Merge pull request #53 from guptarohit/guptarohit-patch-2 #21

Workflow file for this run

name: Release
on:
push:
tags: ["v*.*.*"]
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: "stable"
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}