Skip to content

Commit cc8e8d7

Browse files
chore: remove obsolete docker-build/docker-push Makefile targets
The new Dockerfile expects pre-built arch-specific binaries (bin/initium-${TARGETARCH}), so plain `docker build` without --platform no longer works. Use `make docker-multiarch` instead. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 155c8fa commit cc8e8d7

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,5 @@ docker-multiarch: cross-build
2929
-t $(IMAGE):$(VERSION) -t $(IMAGE):latest --push .
3030
docker buildx build --platform linux/amd64,linux/arm64 \
3131
-f Dockerfile.jyq -t $(IMAGE)-jyq:$(VERSION) -t $(IMAGE)-jyq:latest --push .
32-
docker-build:
33-
docker build -t ghcr.io/kitstream/initium:$(VERSION) .
34-
docker-push:
35-
docker push ghcr.io/kitstream/initium:$(VERSION)
3632
verify-image:
3733
cosign verify --certificate-oidc-issuer https://token.actions.githubusercontent.com --certificate-identity '$(COSIGN_IDENTITY)' $(IMAGE):$(VERSION)

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,9 +311,8 @@ make test
311311
# Option 1: Use the pre-built image
312312
kubectl apply -f examples/nginx-waitfor/deployment.yaml
313313
314-
# Option 2: Build and push your own image
315-
make docker-build VERSION=dev
316-
make docker-push VERSION=dev
314+
# Option 2: Cross-build and push multi-arch images
315+
make docker-multiarch VERSION=dev
317316
318317
# Option 3: Use the Helm chart
319318
helm install my-app charts/initium \

0 commit comments

Comments
 (0)