Skip to content

Merge pull request #518 from Synthikz/patch-1 #44

Merge pull request #518 from Synthikz/patch-1

Merge pull request #518 from Synthikz/patch-1 #44

Workflow file for this run

name: Release
on:
push:
branches:
- master
tags:
- "*"
permissions:
contents: write
packages: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: git fetch --force --tags
- uses: actions/setup-go@v4
with:
go-version: '>=1.19.3'
cache: true
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}