blumeops/docs/how-to
Erich Blume 1bc2b421a8
All checks were successful
Build Container / build (push) Successful in 13s
Adopt Dagger CI for container builds (Phase 1) (#156)
## Summary

- Add Dagger Python module (`.dagger/`) with `build` and `publish` functions for container images
- Replace Docker buildx + skopeo composite action with `dagger call publish` in `build-container.yaml`
- BuildKit's native push is compatible with Zot — **skopeo workaround eliminated**
- Add Dagger CLI (v0.19.11) to forgejo-runner Dockerfile, bump runner to v2.6.0
- Bootstrap step in workflow curl-installs dagger if not in runner (for first build on v2.5.1 runner)
- Delete old `.forgejo/actions/build-push-image/` composite action
- Add GPLv3 LICENSE

## Verified locally

- `dagger call build --src=. --container-name=nettest` — builds ✓
- `dagger call publish --src=. --container-name=nettest --version=dagger-test` — pushed to Zot ✓
- `dagger call build --src=. --container-name=forgejo-runner` — new runner image builds ✓
- Dagger CLI accessible inside built runner image ✓

## Deployment sequence (after merge)

1. `mise run container-tag-and-release forgejo-runner v2.6.0` — old runner bootstraps dagger via curl, builds new runner
2. `argocd app sync forgejo-runner` — runner restarts with v2.6.0 (dagger baked in)
3. `mise run container-tag-and-release nettest v0.13.0` — end-to-end test of new pipeline
4. `mise run container-list` — verify tags

## Not included (future phases)

- Phase 2: docs build + Forgejo packages migration
- Phase 3: runner simplification (remove skopeo, Node.js, etc.)
- Phase 4: future workflows

Reviewed-on: https://forge.ops.eblu.me/eblume/blumeops/pulls/156
2026-02-11 15:38:31 -08:00
..
knowledgebase Add docs-review task with last-reviewed frontmatter tracking (#129) 2026-02-09 07:29:45 -08:00
plans Adopt Dagger CI for container builds (Phase 1) (#156) 2026-02-11 15:38:31 -08:00
add-ansible-role.md Update all docs titles to human-readable (#117) 2026-02-07 21:44:57 -08:00
deploy-k8s-service.md Update all docs titles to human-readable (#117) 2026-02-07 21:44:57 -08:00
expose-service-publicly.md Restrict flyio-proxy ACLs to dedicated tag:flyio-target endpoints (#126) 2026-02-08 21:54:18 -08:00
gandi-operations.md Restrict flyio-proxy ACLs to dedicated tag:flyio-target endpoints (#126) 2026-02-08 21:54:18 -08:00
how-to.md Transcribe backlog tasks into plan documents (#151) 2026-02-11 11:47:23 -08:00
manage-flyio-proxy.md Add Fly.io public reverse proxy for docs.eblu.me (#120) 2026-02-08 02:36:19 -08:00
restart-indri.md Add CNI conflict troubleshooting to restart-indri how-to (#139) 2026-02-10 07:24:42 -08:00
restore-1password-backup.md Add how-to guide for restoring 1Password backup from borgmatic (#141) 2026-02-10 10:55:00 -08:00
troubleshooting.md Update all docs titles to human-readable (#117) 2026-02-07 21:44:57 -08:00
update-documentation.md Add Fly.io public reverse proxy for docs.eblu.me (#120) 2026-02-08 02:36:19 -08:00
update-tailscale-acls.md Update all docs titles to human-readable (#117) 2026-02-07 21:44:57 -08:00
use-pypi-proxy.md Update all docs titles to human-readable (#117) 2026-02-07 21:44:57 -08:00