This directory contains workflows for Gitea Actions, which is a self-hosted CI/CD system compatible with GitHub Actions syntax.
The go.yml workflow handles building, testing, and releasing the ORLY relay when version tags are pushed.
GITEA_TOKEN in your repository settings - Go to: Repository Settings → Secrets → Add Secret
- Name: GITEA_TOKEN
- Value: Your Gitea personal access token with repo and write:packages permissions
- The runner should have access to pull Docker images - Ubuntu-latest image should be available
To create a new release:
# 1. Update version in pkg/version/version file
echo "v0.29.4" > pkg/version/version
# 2. Commit the version change
git add pkg/version/version
git commit -m "bump to v0.29.4"
# 3. Create and push the tag
git tag v0.29.4
git push origin v0.29.4
# 4. The workflow will automatically:
# - Build the binary
# - Run tests
# - Create a release on your Gitea instance
# - Upload the binary and checksums
The workflow uses standard Gitea Actions environment variables:
GITHUB_WORKSPACE: Working directory for the jobGITHUB_REF_NAME: Tag name (e.g., v1.2.3)GITHUB_REPOSITORY: Repository in format owner/repoGITHUB_SERVER_URL: Your Gitea instance URL (e.g., https://git.nostrdev.com)Issue: Workflow fails to clone repository
Issue: Cannot create release
GITEA_TOKEN secret is set correctly with appropriate permissionsIssue: Go version not found
To modify the workflow:
.gitea/workflows/go.ymlact locally for testing)actions/checkout@v4) to avoid GitHub dependencytea CLI instead of GitHub's release actionThis makes the workflow completely self-contained and independent of external services.