demo-app/.forgejo/workflows/ci.yaml
Noah Holt 475cae4b4e
All checks were successful
/ checks (push) Successful in 9s
/ deploy (push) Successful in 54s
ci: use composite actions pipeline
2026-08-10 21:48:08 -05:00

28 lines
869 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: http://192.168.1.230:3000/nholtware/workflows/node-checks@main
deploy:
needs: checks
runs-on: host
steps:
- uses: actions/checkout@v4
- uses: http://192.168.1.230:3000/nholtware/workflows/build-push@main
with:
app-name: demo-app
registry-user: ${{ secrets.REGISTRY_USER }}
registry-token: ${{ secrets.REGISTRY_TOKEN }}
- uses: http://192.168.1.230:3000/nholtware/workflows/gitops-bump@main
with:
app-name: demo-app
gitops-token: ${{ secrets.GITOPS_TOKEN }}