Skip to content

ci: goreleaser

ci: goreleaser #1

Workflow file for this run

name: Release
permissions:
contents: write
packages: write
on:
push:
tags:
- '*'
jobs:
release:
name: Release
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
with:
platforms: all
- uses: docker/login-action@v3
with:
username: starudream
password: ${{ secrets.DOCKER_TOKEN }}
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: starudream
password: ${{ secrets.GITHUB_TOKEN }}
- uses: goreleaser/goreleaser-action@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: release --clean