feat: crow ci

This commit is contained in:
Grace Yoder 2026-06-24 18:15:37 -06:00
parent d7feea3f86
commit 62f89fe05b
Signed by: grace
SSH key fingerprint: SHA256:oG9v0ZlohsoMAg083HAwBGOcaPLF3nIuOlAW4MtASMo
2 changed files with 83 additions and 0 deletions

23
.crow/release.yml Normal file
View file

@ -0,0 +1,23 @@
# This file is a bit of a hack in order to run the real release CI
when:
- event: push
branch: ${CI_REPO_DEFAULT_BRANCH}
clone:
git:
image: codefloe.com/crow-plugins/clone:1.1.0
settings:
tags: true
steps:
- name: retag-latest
image: alpine:3.20
environment:
FORGEJO_TOKEN:
from_secret: forgejo_token
commands:
- apk add --no-cache git
- git remote set-url origin "https://oauth2:$${FORGEJO_TOKEN}@$${CI_FORGE_URL#https://}/$${CI_REPO}.git"
- git tag -f latest
- git push -f origin latest