dharma/.github/workflows/release.yml
Felipe M. 44680b35cc
All checks were successful
CI / format (push) Successful in 21s
CI / goreleaser-lint (push) Successful in 13s
CI / lint (push) Successful in 1m58s
CI / test (push) Successful in 1m23s
CI / build (push) Successful in 2m16s
ci: migrate from Woodpecker CI to Forgejo Actions (#1)
Replace Woodpecker CI pipeline with Forgejo Actions workflows using
ci-base container image. Simplify Makefile to match current project
conventions and add ldflags to goreleaser for smaller binaries.

Reviewed-on: #1
Co-authored-by: Felipe M. <me@fmartingr.com>
Co-committed-by: Felipe M. <me@fmartingr.com>
2026-04-08 10:25:56 +02:00

27 lines
567 B
YAML

name: Release
on:
push:
tags: ["v*"]
jobs:
release:
runs-on: docker
container: git.nakama.town/fmartingr/ci-images/ci-base:1.0.0
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Install Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: Run GoReleaser
uses: actions/goreleaser-action@v6.4.0
with:
args: release --clean
env:
GORELEASER_FORCE_TOKEN: gitea
GITEA_TOKEN: ${{ secrets.FORGEJO_TOKEN }}