tpb/.crow/release.yml
Grace Yoder c83b791247
All checks were successful
ci/crow/push/release Pipeline was successful
ci/crow/tag/build Pipeline was successful
feat: crow ci
2026-06-24 19:09:02 -06:00

23 lines
546 B
YAML

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:
- echo "token length=$${#FORGEJO_TOKEN}"
- 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