From 87b6d7faa4829b1e1c7c8895ef33d2b84d00b11f Mon Sep 17 00:00:00 2001 From: Mathieu Deous Date: Sat, 6 May 2023 15:33:56 +0200 Subject: Better exit codes --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d5b9661..bd1ed51 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ docker: ## Build docker image docker tag $(IMAGE_NAME):latest $(IMAGE_NAME):$(IMAGE_VERSION) docker-tests: ## Run docker image against the samples folder - @docker run --rm -v $(shell pwd)/data/samples:/data $(IMAGE_NAME):latest + @(docker run --rm -v $(shell pwd)/data/samples:/data $(IMAGE_NAME):latest && exit 1) || (test $$? -eq 255 || exit 1) docker-publish: ## Push docker image to the container registry @docker push $(IMAGE_NAME):latest -- cgit v1.3