mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 08:02:54 +11:00
Make sure we actually test that image we created
This commit is contained in:
parent
3cf7f26888
commit
a6559569a3
1 changed files with 1 additions and 2 deletions
3
Makefile
3
Makefile
|
@ -46,9 +46,8 @@ release-docker:
|
||||||
set -ex
|
set -ex
|
||||||
rm -f .coverage
|
rm -f .coverage
|
||||||
pip-compile --dry-run setup.py
|
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 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"
|
@echo -e "\n\n💫 All fine. Now do: docker push barttc/dpaste:latest"
|
||||||
|
|
||||||
.PHONY: release-pypi
|
.PHONY: release-pypi
|
||||||
|
|
Loading…
Reference in a new issue