Skip to content

Commit

Permalink
chore: Improve version tagging in Docker compose commands
Browse files Browse the repository at this point in the history
- Implement version tagging for `docker compose build` and `docker compose push` in Makefile
- Enhance deployment process with version control
- Ensure consistency in versioning across different stages of deployment
  • Loading branch information
johnnyhuy committed Apr 18, 2024
1 parent 2704c59 commit 313b4dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ build: install

build-image:
docker compose build
VERSION=$(shell git describe --tags --abbrev=0) docker compose build

bump:
$(VENV) python -m commitizen bump || $(VENV) python -m commitizen bump --increment patch
Expand Down Expand Up @@ -66,6 +67,7 @@ endif

publish-image: build-image
docker compose push
VERSION=$(shell git describe --tags --abbrev=0) docker compose push

transcribe: install
$(VENV) python transcribe_me/main.py
Expand Down

0 comments on commit 313b4dd

Please sign in to comment.