2023-08-02 19:35:49 +00:00
|
|
|
.PHONY: imagePerkeep
|
|
|
|
|
2023-08-19 16:15:46 +00:00
|
|
|
REGISTRY_NAME=container.localdomain
|
2023-08-02 19:35:49 +00:00
|
|
|
# linux/arm/v7
|
|
|
|
# linux/arm/v6
|
|
|
|
# linux/arm64
|
|
|
|
# linux/amd64
|
|
|
|
PLATFORM=linux/amd64,linux/arm64
|
|
|
|
#VERBOSITY=info
|
|
|
|
VERBOSITY=debug
|
|
|
|
|
|
|
|
## build
|
|
|
|
|
|
|
|
imagePerkeep:
|
|
|
|
docker manifest rm $(REGISTRY_NAME):5000/perkeep:latest || true
|
|
|
|
docker-multi-arch-builder build -n perkeep --platforms $(PLATFORM) -v $(VERBOSITY)
|
|
|
|
|
|
|
|
## management
|
|
|
|
|
|
|
|
status:
|
|
|
|
@curl -s $(REGISTRY_NAME):5000/v2/_catalog | jq
|