Makefile: version_code bugfix; Compose: author name bugfix; Readme

This commit is contained in:
DarkCat09 2023-03-03 14:23:46 +04:00
parent c67b5929cb
commit db341384a0
3 changed files with 30 additions and 19 deletions

View file

@ -14,14 +14,24 @@ check:
docker:
python3 -m dotenv -f version_code run \
docker build -t ${REPO_OWNER_LOWER}/${REPO_NAME_SNAKE}:$$VERSION .
make cmd-docker-build
docker-build:
python3 -m dotenv -f version_code run \
make cmd-docker-build
docker-push:
python3 -m dotenv -f version_code run \
docker push ${REPO_OWNER_LOWER}/${REPO_NAME_SNAKE}:$$VERSION
make cmd-docker-push
clean:
rm -rf app/__pycache__
rm -rf app/*/__pycache__
rm -rf __pycache__
rm -rf .mypy_cache
cmd-docker-build:
docker build -t ${REPO_OWNER_LOWER}/${REPO_NAME_SNAKE}:$${VERSION} .
cmd-docker-push:
docker push ${REPO_OWNER_LOWER}/${REPO_NAME_SNAKE}:$$VERSION