mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-11 02:53:30 +00:00
14 lines
495 B
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
|