Files
genesis/.github/workflows/docker-rlp.yml
T
Hanzo AI 5b6df656b1 docker: image build for cmd/rlp-{export,import} (closes #69 / #122 sidecar)
Dockerfiles for the two RLP utilities + GH workflow calling the
shared hanzoai/.github docker-build@main workflow. amd64-only,
lux-build-linux-amd64 runner pool per the cross-org isolation rule.

Consumed by the lux-operator ExportSchedules CronJob (#69) and the
TenantImports Job (#122). Both default to the in-cluster MinIO
endpoint at http://s3.lux-system.svc.cluster.local:9000.

Pre-existing modifications in builder/, configs/configs.go,
pkg/genesis/{config,networks,types,cert_policy}.go intentionally
left untouched per CTO commit-by-name discipline.
2026-06-05 09:54:56 -07:00

59 lines
1.5 KiB
YAML

name: Docker rlp-import/rlp-export
# Builds + publishes the two CronJob/Job images that the lux operator
# wires into LuxNetwork.spec.{tenantImports,exportSchedules}. Driven
# by the shared workflow at hanzoai/.github so all image tagging,
# registry login, and BuildKit caching stays one-way across orgs.
#
# Trigger: any push to main (publishes :sha-<sha7>) or a v* tag
# (publishes the semver tag). PRs build but do not publish.
on:
push:
branches: [main]
tags: ['v*']
paths:
- 'cmd/rlp-export/**'
- 'cmd/rlp-import/**'
- 'Dockerfile.rlp-export'
- 'Dockerfile.rlp-import'
- 'go.mod'
- 'go.sum'
- '.github/workflows/docker-rlp.yml'
pull_request:
branches: [main]
paths:
- 'cmd/rlp-export/**'
- 'cmd/rlp-import/**'
- 'Dockerfile.rlp-export'
- 'Dockerfile.rlp-import'
permissions:
contents: read
packages: write
jobs:
rlp-export:
name: rlp-export
uses: hanzoai/.github/.github/workflows/docker-build.yml@main
with:
image-name: luxfi/rlp-export
dockerfile: Dockerfile.rlp-export
platforms: linux/amd64
runner-amd64: lux-build-linux-amd64
build-arm64:
if: false
secrets: inherit
rlp-import:
name: rlp-import
uses: hanzoai/.github/.github/workflows/docker-build.yml@main
with:
image-name: luxfi/rlp-import
dockerfile: Dockerfile.rlp-import
platforms: linux/amd64
runner-amd64: lux-build-linux-amd64
build-arm64:
if: false
secrets: inherit