Skip to content

Commit 0ddb7f8

Browse files
committed
Re-add previous docker tag schema with leading "v" for backwards compatibility (e.g. v2)
1 parent 195f887 commit 0ddb7f8

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@ jobs:
3434
jensforstmann/tmt2:${{ steps.tagName.outputs.major }}
3535
jensforstmann/tmt2:${{ steps.tagName.outputs.major }}.${{ steps.tagName.outputs.minor }}
3636
jensforstmann/tmt2:${{ steps.tagName.outputs.major }}.${{ steps.tagName.outputs.minor }}.${{ steps.tagName.outputs.patch }}
37+
jensforstmann/tmt2:v${{ steps.tagName.outputs.major }}

README.md

+20-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# TMT2 - Tournament Match Tracker 2
22

3+
[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/JensForstmann/tmt2/docker.yml?label=docker%20build)](https://github.com/JensForstmann/tmt2/actions/workflows/docker.yml)
34
[![Docker Pulls](https://img.shields.io/docker/pulls/jensforstmann/tmt2)](https://hub.docker.com/r/jensforstmann/tmt2)
4-
[![Docker Image Size (tag)](https://img.shields.io/docker/image-size/jensforstmann/tmt2/latest)](https://hub.docker.com/r/jensforstmann/tmt2)
5+
[![Docker Image Size](https://img.shields.io/docker/image-size/jensforstmann/tmt2/latest?label=docker%20image%20size)](https://hub.docker.com/r/jensforstmann/tmt2)
6+
7+
58

69
TMT is a tool that tracks/watches/observes a Counter-Strike 2 match.
710

@@ -56,6 +59,8 @@ Table of Contents:
5659
- [Install dependencies and run application in development mode](#install-dependencies-and-run-application-in-development-mode)
5760
- [Build docker image](#build-docker-image)
5861

62+
63+
5964
## Getting Started
6065

6166
TMT2 is available on docker hub: https://hub.docker.com/r/jensforstmann/tmt2
@@ -80,6 +85,8 @@ docker run --name tmt2 -d -p 8080:8080 -v /home/tmt2/storage:/app/backend/storag
8085

8186
The matches which are neither finished nor stopped will be loaded on application start.
8287

88+
89+
8390
### Create you first Match
8491

8592
After running the container you can open the web frontend: http://localhost:8080
@@ -98,6 +105,7 @@ either take a look at the `access_tokens.json` file
98105
or take a look at the first lines of the log output (`docker logs tmt2`).
99106

100107

108+
101109
### Ingame Chat Commands
102110

103111
While TMT watches a match the player ingame can use chat commands to communicate with TMT:
@@ -147,13 +155,16 @@ TMT_SAY_PREFIX="[TMT] "
147155
```
148156

149157

158+
150159
## API
151160

152161
See [`backend/swagger.json`](backend/swagger.json).
153162
You might want to copy its content and paste it into https://editor.swagger.io/.
154163

155164
See also the [`examples`](examples) folder.
156165

166+
167+
157168
## Security / Authentication
158169

159170
There are two types of authentication:
@@ -169,6 +180,8 @@ Both are used in client requests in the Authorization header with a "Bearer "-pr
169180
Authorization: Bearer 2Mgog6ATqAs495NtUQUsph
170181
...
171182

183+
184+
172185
### global access tokens
173186

174187
Global access tokens are persisted in the storage folder in the file `access_tokens.json`.
@@ -193,6 +206,8 @@ Example:
193206

194207
If the file does not exist at startup a new one with a single auto generated global access token will be created.
195208

209+
210+
196211
### match specific access tokens
197212

198213
Every match will have a `tmtSecret` property. This can be used in the same way as a global access token.
@@ -210,6 +225,8 @@ After starting the dev processes you can reach the backend & frontend at:
210225
- Backend: http://localhost:8080
211226
- Frontend: http://localhost:5173
212227

228+
229+
213230
## Docker
214231

215232
Docker is recommended as it's easy to use and doesn't require any other software to be installed
@@ -278,4 +295,6 @@ docker build -t tmt2 .
278295

279296
---
280297

298+
299+
281300
> This project is a complete rewrite of the former [TMT](https://github.com/JensForstmann/CSGO-PHP-TournamentMatchTracker).

0 commit comments

Comments
 (0)