hako/.github/workflows/release.yml
Felipe M. 53fcfe7267
Some checks failed
CI / goreleaser-lint (pull_request) Successful in 7s
CI / format (pull_request) Successful in 1m14s
CI / lint (pull_request) Successful in 2m57s
CI / e2e (pull_request) Failing after 21s
CI / test (pull_request) Successful in 5m22s
CI / build (pull_request) Successful in 4m23s
ci: align Forgejo Actions with migrated repo conventions
Bump ci-base to 1.1.0 and actions to v7, add Docker buildx setup for
releases, restore dockers_v2 for multi-arch images, and set testcontainers
env vars on the e2e job.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 14:45:50 +02:00

33 lines
852 B
YAML

name: Release
on:
push:
tags: ["v*"]
jobs:
release:
runs-on: docker
container: git.nakama.town/fmartingr/ci-images/ci-base:1.1.0
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Install Go
uses: actions/setup-go@v7
with:
go-version-file: go.mod
- name: Setup Docker buildx
run: docker buildx create --use --name multiplatform --driver docker-container
- name: Login to container registry
run: echo "${{ secrets.FORGEJO_TOKEN }}" | docker login git.nakama.town -u ${{ github.actor }} --password-stdin
- name: Run GoReleaser
uses: actions/goreleaser-action@v6.4.0
with:
args: release --clean
env:
GORELEASER_FORCE_TOKEN: gitea
GITEA_TOKEN: ${{ secrets.FORGEJO_TOKEN }}