pkg docker

This commit is contained in:
realaravinth
2021-10-31 22:55:47 +05:30
parent b2f928bc7f
commit ac9d4f753a
3 changed files with 28 additions and 3 deletions

View File

@ -14,11 +14,11 @@ doc: ## Prepare documentation
cargo doc --no-deps --workspace --all-features
docker: ## Build docker images
docker build -t realaravinth/pages:master -t realaravinth/pages:latest .
docker build -t realaravinth/libmedium:master -t realaravinth/libmedium:latest .
docker-publish: docker ## Build and publish docker images
docker push realaravinth/pages:master
docker push realaravinth/pages:latest
docker push realaravinth/libmedium:master
docker push realaravinth/libmedium:latest
lint: ## Lint codebase
cargo fmt -v --all -- --emit files