terraria-companion/.woodpecker/release.yml
Felipe M. 53cd9dd065
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/tag/release Pipeline was successful
ci: use ci-release image for release pipeline
Replaces manual tool installation (Docker, Go, GoReleaser, Bun) with
the pre-built ci-release image from ci-images repository.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 09:12:08 +01:00

23 lines
708 B
YAML

when:
- event: tag
branch: main
steps:
- name: Release
image: git.nakama.town/fmartingr/ci-images/ci-release:latest
environment:
GITEA_TOKEN:
from_secret: GITEA_TOKEN
DOCKER_HOST: unix:///var/run/docker.sock
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
commands:
# Clone data repository
- git clone https://fmartingr:$GITEA_TOKEN@git.nakama.town/fmartingr/terraria-companion-data.git data
# Setup Docker buildx
- docker buildx create --use --name multiplatform --driver docker-container
# Authenticate and release
- docker login -u fmartingr -p $GITEA_TOKEN git.nakama.town
- goreleaser release --clean