Skip to content

Update CI actions

Update CI actions #20

Workflow file for this run

name: Release
on:
pull_request:
push:
tags:
- '*'
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.21.x
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
if: startsWith(github.ref, 'refs/tags/')
with:
registry: quay.io
username: fossa+fossabot
password: ${{ secrets.QUAY_TOKEN }}
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}