From 0164d245832399c369eeac82c5549e1bc5eed6d7 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Sun, 29 Jul 2018 15:45:13 +0000 Subject: [PATCH] Tag build image with current git commit --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 770ba4d1..6351d359 100644 --- a/Makefile +++ b/Makefile @@ -246,6 +246,7 @@ endif # It also makes sure the multiarch hooks are reqistered in the kernel so the QEMU emulation works $(BUILD_UPTODATE): build/* $(SUDO) docker build -t $(BUILD_IMAGE) build/ + $(SUDO) docker tag $(BUILD_IMAGE) $(BUILD_IMAGE):$(shell tools/image-tag) $(SUDO) docker run --rm --privileged multiarch/qemu-user-static:register --reset touch $@