add watchdog image

This commit is contained in:
Adrien le Maire 2020-08-28 14:55:57 +02:00
parent a748e1f225
commit 6f2a24af9a

View File

@ -2,12 +2,12 @@ include watchdog/.version
watchdog-nopush:
docker buildx build --platform linux/amd64 --load \
--build-arg MC_VERSION=$(VERSION) \
--build-arg 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) \
--build-arg VERSION=$(VERSION) \
--cache-from=type=registry,ref=alemairebe/watchdog \
--cache-to=type=registry,ref=alemairebe/watchdog \
--tag alemairebe/watchdog:$(VERSION) watchdog