From 21094ae06169d2c0dce6cf805b479489a629be82 Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Sun, 8 Dec 2019 10:29:33 +0100 Subject: [PATCH] Release helper --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 52adb5d..95e986d 100644 --- a/Makefile +++ b/Makefile @@ -50,6 +50,13 @@ docs: ## Compile the documentation docs-watch: ## Compile the documentation and watch for changes sphinx-autobuild docs docs/_build/html +.PHONY: release-docker +release-docker: + set -ex + docker-compose run --rm app pytest dpaste/ + docker build --build-arg BUILD_EXTRAS=production -t barttc/dpaste:latest . + @echo -e "\n\n💫 All fine. Now do: docker push barttc/dpaste:latest" + .PHONY: help help: @echo -e "Available make commands:"