2022-06-06 10:28:01 +00:00
|
|
|
.PHONY: imagePostgres
|
|
|
|
|
|
|
|
REGISTRY_IP=docker.registry
|
|
|
|
# linux/arm/v7
|
|
|
|
# linux/arm/v6
|
|
|
|
# linux/arm64
|
|
|
|
# linux/amd64
|
2023-03-14 19:36:24 +00:00
|
|
|
PLATFORM=linux/arm/v6,linux/amd64
|
2022-06-06 10:28:01 +00:00
|
|
|
#VERBOSITY=info
|
|
|
|
VERBOSITY=debug
|
|
|
|
|
|
|
|
## build
|
|
|
|
|
|
|
|
imagePostgres:
|
2023-03-14 19:36:24 +00:00
|
|
|
docker manifest rm $(REGISTRY_IP):5000/postgres:latest || true
|
|
|
|
docker-multi-arch-builder build -n postgres --platforms $(PLATFORM) -v $(VERBOSITY)
|
2022-06-06 10:28:01 +00:00
|
|
|
|
|
|
|
## management
|
|
|
|
|
|
|
|
status:
|
|
|
|
@curl -s $(REGISTRY_IP):5000/v2/_catalog | jq
|