Commit Graph
10 Commits
Author SHA1 Message Date
rockandStory Crater Bot 19bf437d79 fix: use env vars for docker registry credentials (#3)
CI / Test (push) Successful in 1m56s
CI / Build & Push Image (push) Failing after 1m13s
Fix registry login by passing FORGEJO_REGISTRY_USER and FORGEJO_REGISTRY_TOKEN via environment variables instead of direct secret interpolation.

This is the reference implementation pattern used across all repos.

This prevents credentials from being exposed in logs or shell history while keeping the standard docker login approach.

After merge + org-level secrets configured:
- All repos inherit FORGEJO_REGISTRY_USER and FORGEJO_REGISTRY_TOKEN
- CI validates credentials exist before docker login
- Image pushed to registry on main push

---------

Co-authored-by: Story Crater Bot <[email protected]>
Reviewed-on: #3
2026-09-07 07:08:36 +00:00
Story Crater Bot 7389b977b4 refactor: standardize workflow name and move env to workflow level
CI / Test (push) Failing after 27s
CI / Build & Push Image (push) Skipped
- Change name to 'CI' (consistent with template)
- Move REGISTRY, IMAGE to workflow-level env (shared by both jobs)
- Compact 'on:' branches syntax
- Maintain all service-specific features (Delete old latest, build-arg)

No functional change, pure standardization to match template pattern.
2026-09-06 23:21:54 -07:00
Story Crater Bot 6e1e7506c3 fix: add PR trigger, separate test job, fix workflow structure
Build & Push Portfolio Image / Test (push) Failing after 46s
Build & Push Portfolio Image / Build & Push Image (push) Skipped
Changes:
- Add 'pull_request' trigger (test-only on PRs)
- Separate 'test' job (npm ci + npm test)
- Separate 'build-push' job with condition: push to main only
- Remove redundant Node.js install in push job
- Proper dependency chain: test → build-push on main

Now: PRs run tests without pushing. Main pushes build image to registry.
2026-09-06 22:50:10 -07:00
Story Crater Bot 04b848e23b ci: fix node-runner docker, add image prune post-action
Build & Push Portfolio Image / build-push (push) Failing after 1m9s
- Installs docker.io on node runner (base forgejo/runner:6 lacks it)
- Adds image prune step after push to clean unused images
- Squashes 5 previous failed CI attempts into single working fix
2026-09-06 05:54:03 -07:00
Story Crater Bot b3631211af feat: add CI status badge with commit SHA on homelab experience card
Build & Push Portfolio Image / build-push (push) Successful in 4m8s
2026-09-02 20:30:21 -07:00
Story Crater Bot 7e8d6c3afa fix: pass COMMIT_SHA build arg to Docker for CI status display
Build & Push Portfolio Image / build-push (push) Successful in 3m27s
2026-09-02 10:14:36 -07:00
Story Crater Bot 82cd8940c2 fix: delete old latest image before rebuild, use --no-cache for fresh builds
Build & Push Portfolio Image / build-push (push) Successful in 3m38s
2026-09-02 09:58:34 -07:00
Story Crater Bot 21b337e441 fix: remove path filter - always build on main push
Build & Push Portfolio Image / build-push (push) Successful in 2m42s
2026-09-01 11:00:11 -07:00
Story Crater Bot 4cf792f21d fix: add infra/** to workflow paths to trigger on deployment changes 2026-09-01 09:47:05 -07:00
Story Crater Bot 6f496566df fix(ci): rename .forgejo to .gitea, use golang runner with docker container 2026-08-31 17:33:05 -07:00