From a6559569a30d56ad2cc96bdfdfe6a74509afeed2 Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Wed, 18 Dec 2019 17:51:06 +0100 Subject: [PATCH] Make sure we actually test that image we created --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 07567fe..5553b31 100644 --- a/Makefile +++ b/Makefile @@ -46,9 +46,8 @@ release-docker: set -ex rm -f .coverage pip-compile --dry-run setup.py - docker-compose build - docker-compose run --rm app pytest dpaste/ docker build --build-arg BUILD_EXTRAS=production -t barttc/dpaste:latest . + docker run --rm dpaste:latest pytest dpaste/ @echo -e "\n\n💫 All fine. Now do: docker push barttc/dpaste:latest" .PHONY: release-pypi