Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

Merge branch 'main' of https://github.com/quizer-app/backend #3

Merge branch 'main' of https://github.com/quizer-app/backend

Merge branch 'main' of https://github.com/quizer-app/backend #3

Workflow file for this run

name: goreleaser
on:
push:
tags:
- "*"
permissions:
contents: write
packages: write
issues: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: git fetch --force --tags
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20.5
- name: Log in to the Container registry
uses: docker/login-action@v2.2.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run goreleaser
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}