From 22c88cf7197fab3699f1e1e92d9fd32a60511bdb Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Mon, 9 Aug 2021 23:05:31 +0200 Subject: [PATCH 1/2] Always load built image to make it available to docker --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ecb6a227..3ff3928d 100644 --- a/Makefile +++ b/Makefile @@ -100,7 +100,7 @@ build-all: $(foreach I, $(ALL_IMAGES), build/$(I)) ## build all stacks build-multi/%: DARGS?= build-multi/%: ## build the latest image for a stack on both amd64 and arm64 @echo "::group::Build $(OWNER)/$(notdir $@) (system's architecture)" - docker buildx build $(DARGS) --rm --force-rm -t $(OWNER)/$(notdir $@):latest ./$(notdir $@) --build-arg OWNER=$(OWNER) + docker buildx build $(DARGS) --rm --force-rm -t $(OWNER)/$(notdir $@):latest ./$(notdir $@) --build-arg OWNER=$(OWNER) --load @echo -n "Built image size: " @docker images $(OWNER)/$(notdir $@):latest --format "{{.Size}}" @echo "::endgroup::" From 53634b73b159d6c9b5535a001d65f5a79f0748c3 Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Mon, 9 Aug 2021 23:06:01 +0200 Subject: [PATCH 2/2] ci: ensure we get color in github actions --- pytest.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest.ini b/pytest.ini index 851895e4..11eec270 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,5 +1,5 @@ [pytest] -addopts = -ra +addopts = -ra --color=yes log_cli = 1 log_cli_level = INFO log_cli_format = %(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)