buildx/watchdog/Makefile

14 lines
495 B
Makefile

include watchdog/.version
watchdog-nopush:
docker buildx build --platform linux/amd64 --load \
--build-arg MC_VERSION=$(VERSION) \
--tag alemairebe/watchdog:$(VERSION) watchdog
watchdog:
docker buildx build --platform linux/amd64,linux/arm64,linux/arm,linux/ppc64le --push \
--build-arg MC_VERSION=$(VERSION) \
--cache-from=type=registry,ref=alemairebe/watchdog \
--cache-to=type=registry,ref=alemairebe/watchdog \
--tag alemairebe/watchdog:$(VERSION) watchdog