Commit 965995f3 authored by Bogdan Bodnar's avatar Bogdan Bodnar

Add docker build and upload to Makefile

parent 28b18a5f
......@@ -55,6 +55,10 @@ release: build
upload:
python3 setup.py register sdist upload
upload-docker: build-docker
docker tag haas-proxy cznic/haas-proxy
docker push cznic/haas-proxy
build:
# Debian packages
${FPM_CMD_PY2} -t deb setup.py
......@@ -67,6 +71,9 @@ build:
# Just archive, no deps
python setup.py sdist --formats=gztar --dist-dir .
build-docker:
docker build --no-cache -t haas-proxy .
clean:
python setup.py clean
rm -rf *.deb *.rpm *.tar
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment