build: add reproducible Orbit container release

This commit is contained in:
2026-09-20 18:15:50 +08:00
parent 23928dbcdc
commit ee63c7f54e
9 changed files with 118 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
GO ?= go
.PHONY: fmt test vet build integration mysql-replication mysql-compatibility sdk-check protocol-check docs-check schedule-backlog
.PHONY: fmt test vet build image integration mysql-replication mysql-compatibility sdk-check protocol-check docs-check schedule-backlog
fmt:
$(GO) fmt ./...
cd sdk/go && $(GO) fmt ./...
@@ -26,6 +26,9 @@ build:
cd examples/result-inbox && GOWORK=off $(GO) build -o ../../bin/orbit-inbox-example ./cmd/receiver
cd examples/task-outbox && GOWORK=off $(GO) build -o ../../bin/orbit-outbox-example ./cmd/sender
image:
docker build --tag $${ORBIT_IMAGE:-orbit:dev} .
integration:
./scripts/test-mysql.sh