Skip to content

Commit

Permalink
build: Update Docker build process and release workflow
Browse files Browse the repository at this point in the history
- Update Makefile to use `docker compose build --push` for publishing images
- Include git tag version in the docker build command
  • Loading branch information
johnnyhuy committed Apr 20, 2024
1 parent c4f6908 commit 54f8d80
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ else
$(VENV) python -m twine upload dist/*
endif

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

transcribe: install
$(VENV) python -m transcribe_me.main
Expand Down

0 comments on commit 54f8d80

Please sign in to comment.