Skip to content

feat(multi-tenant): beecd OSSaaS multi-tenant ready#1

Merged
isaaguilar merged 11 commits intomasterfrom
multi-tenant-platform
Jan 30, 2026
Merged

feat(multi-tenant): beecd OSSaaS multi-tenant ready#1
isaaguilar merged 11 commits intomasterfrom
multi-tenant-platform

Conversation

@isaaguilar
Copy link
Copy Markdown
Member

No description provided.

@isaaguilar isaaguilar force-pushed the multi-tenant-platform branch 3 times, most recently from a135e9e to ee15598 Compare January 27, 2026 03:54
@isaaguilar isaaguilar force-pushed the multi-tenant-platform branch from ee15598 to 2884e65 Compare January 27, 2026 03:58
isaaguilar and others added 9 commits January 26, 2026 23:05
)

* Initial plan

* Add multi-arch Docker build support for linux/amd64 and linux/arm64

- Updated agent/Dockerfile with multi-arch support
- Updated hive/Dockerfile with multi-arch support and architecture-specific sops binary
- Updated hive-hq/Dockerfile with multi-arch support
- Created .github/workflows/build.yml for automated multi-arch builds
- Updated build.sh to support multi-arch builds with buildx

Co-authored-by: isaaguilar <16406451+isaaguilar@users.noreply.github.com>

* Fix multi-arch Docker build - remove BUILDPLATFORM to use native emulation

- Removed --platform=$BUILDPLATFORM from all stages to allow QEMU emulation
- This enables TARGETARCH to be properly set by Docker buildx
- Each architecture will build natively using QEMU when needed

Co-authored-by: isaaguilar <16406451+isaaguilar@users.noreply.github.com>

* Use rust-musl-cross base images for reliable multi-arch builds

- Simplified all Dockerfiles to use messense/rust-musl-cross images
- These images have OpenSSL and cross-compilation tools pre-configured
- Added CA certificate updates to fix cargo registry access
- Removed complex OpenSSL build steps that were failing with QEMU emulation

Co-authored-by: isaaguilar <16406451+isaaguilar@users.noreply.github.com>

* Address code review feedback - improve cache isolation and validation

- Declare TARGETARCH at top level before FROM statements for clarity
- Use architecture-specific cache IDs to prevent conflicts between amd64/arm64 builds
- Remove fragile temp file approach, use inline conditionals instead
- Fix build.sh comment to mention both architectures
- Add conditional to workflow digest output (only show when pushing)

Co-authored-by: isaaguilar <16406451+isaaguilar@users.noreply.github.com>

* Add explicit permissions to workflow for security

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: isaaguilar <16406451+isaaguilar@users.noreply.github.com>
Co-authored-by: Isa Aguilar <isa@aguilarstory.com>
@isaaguilar isaaguilar force-pushed the multi-tenant-platform branch from 8e94fcc to ed2d876 Compare January 30, 2026 04:59
@isaaguilar isaaguilar merged commit ed567c8 into master Jan 30, 2026
2 of 3 checks passed
@isaaguilar isaaguilar deleted the multi-tenant-platform branch January 30, 2026 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants