Python backend for a Slack's kudos plugin.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: updated makefile

+11 -1
+11 -1
Makefile
··· 2 2 # ------------------------------------------------------------------------------ 3 3 PROJECT_NAME=kefi 4 4 IMAGE_ID=registry.dekaside.com/${PROJECT_NAME}/${PROJECT_NAME}-backend 5 + VERSION=`python -c 'import kefi; print(kefi.__version__)'` 5 6 6 7 # Common commands to handle the project. 7 8 # ------------------------------------------------------------------------------ ··· 17 18 # Build and push docker latest image 18 19 # ------------------------------------------------------------------------------ 19 20 build: 20 - docker build . -f ./docker/Dockerfile --tag ${IMAGE_ID}:latest 21 + docker build . -f ./docker/Dockerfile --tag ${IMAGE_ID}:latest --tag ${IMAGE_ID}:${VERSION} 21 22 22 23 push: build 24 + docker push ${IMAGE_ID}:${VERSION} 23 25 docker push ${IMAGE_ID}:latest 26 + 27 + # Build and push docker versioned image 28 + # ------------------------------------------------------------------------------ 29 + build_release: 30 + docker build . -f ./docker/Dockerfile --tag ${IMAGE_ID}:${VERSION} 31 + 32 + push_release: build 33 + docker push ${IMAGE_ID}:${VERSION}