summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMathieu Deous2023-05-06 15:33:56 +0200
committerGitHub2023-05-06 15:33:56 +0200
commit87b6d7faa4829b1e1c7c8895ef33d2b84d00b11f (patch)
tree790b99f94bed4f2df410b79fabf69e823b532ce4 /Makefile
parent1b85a73a5ee7eca8af9095acfab6fa608a5e0fd4 (diff)
Better exit codesHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d5b9661..bd1ed51 100644
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ docker: ## Build docker image
38 docker tag $(IMAGE_NAME):latest $(IMAGE_NAME):$(IMAGE_VERSION) 38 docker tag $(IMAGE_NAME):latest $(IMAGE_NAME):$(IMAGE_VERSION)
39 39
40docker-tests: ## Run docker image against the samples folder 40docker-tests: ## Run docker image against the samples folder
41 @docker run --rm -v $(shell pwd)/data/samples:/data $(IMAGE_NAME):latest 41 @(docker run --rm -v $(shell pwd)/data/samples:/data $(IMAGE_NAME):latest && exit 1) || (test $$? -eq 255 || exit 1)
42 42
43docker-publish: ## Push docker image to the container registry 43docker-publish: ## Push docker image to the container registry
44 @docker push $(IMAGE_NAME):latest 44 @docker push $(IMAGE_NAME):latest