mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-05-19 11:01:47 +02:00
Created New version deploy workflow (markdown)
parent
15b066687a
commit
6ed9c90365
10
New-version-deploy-workflow.md
Normal file
10
New-version-deploy-workflow.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
Has to be automated at some point.
|
||||||
|
|
||||||
|
1. Make changes
|
||||||
|
2. merge into `legacy` branch
|
||||||
|
3. create git tag with version number, format until now `vYYYY.MM.n`
|
||||||
|
4. write version number into `backend/.version` using `echo \"$(git rev-parse --abbrev-ref HEAD)-$(git describe)\"> ./backend/.version`
|
||||||
|
5. write version number into the image tag in `docker-compose.prod.yml`
|
||||||
|
6. `docker compose -f docker-compose.prod.yml build`
|
||||||
|
7. `docker push ghcr.io/phoenixtwofive/karaoqueue:vYYYY.MM.n`
|
||||||
|
8. update all running containers to the new tag
|
Loading…
x
Reference in New Issue
Block a user