service-template-express/.forgejo/workflows/ci.yaml
nholtware efb32287e1 ci: workflows and registry at https://git.holtlabs.xyz (Plan 14)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-11 13:50:32 -06:00

29 lines
988 B
YAML

# Full pipeline: checks -> build+push image -> bump tag in gitops repo.
# The heavy lifting lives in nholtware/workflows composite actions; ArgoCD
# takes over from the gitops commit.
on:
push:
branches: [main]
jobs:
checks:
runs-on: docker
steps:
- uses: actions/checkout@v4
- uses: https://git.holtlabs.xyz/nholtware/workflows/node-checks@v1
- uses: https://git.holtlabs.xyz/nholtware/workflows/lint-checks@v1
deploy:
needs: checks
runs-on: host
steps:
- uses: actions/checkout@v4
- uses: https://git.holtlabs.xyz/nholtware/workflows/build-push@v1
with:
app-name: ${{ github.event.repository.name }}
registry-user: ${{ secrets.REGISTRY_USER }}
registry-token: ${{ secrets.REGISTRY_TOKEN }}
- uses: https://git.holtlabs.xyz/nholtware/workflows/gitops-bump@v1
with:
app-name: ${{ github.event.repository.name }}
gitops-token: ${{ secrets.GITOPS_TOKEN }}