Initial commit
This commit is contained in:
commit
46bcafb9cb
3 changed files with 122 additions and 0 deletions
13
README.md
Normal file
13
README.md
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# workflows
|
||||
|
||||
Reusable Forgejo Actions workflows for the homelab pipeline.
|
||||
|
||||
- `build-and-deploy.yaml` — language-agnostic: docker build -> push to the
|
||||
Forgejo registry (`192.168.1.230:3000`) -> bump the image tag in
|
||||
`nholtware/gitops` (ArgoCD takes it from there). Inputs: `app-name`
|
||||
(required), `context`, `dockerfile`, `gitops-repo`.
|
||||
- `node-checks.yaml` — optional TypeScript/Node checks: `npm ci`, lint,
|
||||
test (each `--if-present`).
|
||||
|
||||
Secrets expected (user/org-level Actions secrets): `REGISTRY_USER`,
|
||||
`REGISTRY_TOKEN` (write:package), `GITOPS_TOKEN` (write to gitops repo).
|
||||
Loading…
Add table
Add a link
Reference in a new issue