hello-web/.forgejo/workflows/ci.yaml
nholtware 4017106dd2
All checks were successful
/ checks (push) Successful in 42s
/ deploy (push) Successful in 3s
ci: use https://git.lab.holtlabs.xyz for workflows and registry (Plan 12)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 11:55:08 -06:00

29 lines
1,004 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.lab.holtlabs.xyz/nholtware/workflows/node-checks@v1
- uses: https://git.lab.holtlabs.xyz/nholtware/workflows/lint-checks@v1
deploy:
needs: checks
runs-on: host
steps:
- uses: actions/checkout@v4
- uses: https://git.lab.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.lab.holtlabs.xyz/nholtware/workflows/gitops-bump@v1
with:
app-name: ${{ github.event.repository.name }}
gitops-token: ${{ secrets.GITOPS_TOKEN }}