Skip to content

Commit 07cf378

Browse files
committed
chore: update Makefile to use the build-enhanced build script
1 parent 7fb17cb commit 07cf378

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

Makefile

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,31 @@ help: ## Show this help
1111
build: tiny micro full ## Build all variants locally
1212

1313
base: ## Build base image
14-
VERSION=$(VERSION) ./build --platform $(PLATFORM) --tag $(TAG) --load base
14+
VERSION=$(VERSION) ./build-enhanced --platform $(PLATFORM) --tag $(TAG) --load base
1515

1616
tiny: base ## Build tiny variant
17-
VERSION=$(VERSION) ./build --platform $(PLATFORM) --tag $(TAG) --load tiny
17+
VERSION=$(VERSION) ./build-enhanced --platform $(PLATFORM) --tag $(TAG) --load tiny
1818

1919
micro: base ## Build micro variant
20-
VERSION=$(VERSION) ./build --platform $(PLATFORM) --tag $(TAG) --load micro
20+
VERSION=$(VERSION) ./build-enhanced --platform $(PLATFORM) --tag $(TAG) --load micro
2121

2222
full: base ## Build full variant
23-
VERSION=$(VERSION) ./build --platform $(PLATFORM) --tag $(TAG) --load full
23+
VERSION=$(VERSION) ./build-enhanced --platform $(PLATFORM) --tag $(TAG) --load full
2424

2525
push-base: ## Push base to registry
26-
VERSION=$(VERSION) ./build --platform $(PLATFORM) --tag $(REGISTRY)/$(TAG) --push base
26+
VERSION=$(VERSION) ./build-enhanced --platform $(PLATFORM) --tag $(TAG) --registry $(REGISTRY) --push base
2727

2828
push: ## Push all variants to registry
29-
VERSION=$(VERSION) ./build --platform $(PLATFORM) --tag $(REGISTRY)/$(TAG) --push tiny micro full
29+
VERSION=$(VERSION) ./build-enhanced --platform $(PLATFORM) --tag $(TAG) --registry $(REGISTRY) --push tiny micro full
30+
31+
push-ghcr: ## Push all variants to GitHub Container Registry
32+
VERSION=$(VERSION) ./build-enhanced --platform $(PLATFORM) --tag $(TAG) --ghcr --push tiny micro full
33+
34+
push-public-ecr: ## Push all variants to AWS Public ECR
35+
VERSION=$(VERSION) ./build-enhanced --platform $(PLATFORM) --tag $(TAG) --public-ecr --push tiny micro full
36+
37+
push-all: ## Push to both GHCR and Public ECR
38+
VERSION=$(VERSION) ./build-enhanced --platform $(PLATFORM) --tag $(TAG) --ghcr --public-ecr --push tiny micro full
3039

3140
clean: ## Remove local images
3241
docker rmi -f $(TAG):base $(TAG):tiny $(TAG):micro $(TAG):full 2>/dev/null || true

0 commit comments

Comments
 (0)