From 313b4dd85ddc09a4223eab149bbed1f584f2de58 Mon Sep 17 00:00:00 2001 From: Johnny Huynh <27847622+johnnyhuy@users.noreply.github.com> Date: Fri, 19 Apr 2024 09:01:31 +1000 Subject: [PATCH] chore: Improve version tagging in Docker compose commands - 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 --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index c70db20..7c1b3b3 100644 --- a/Makefile +++ b/Makefile @@ -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 @@ -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