Improve Docker image tagging strategy and remove Swagger version

- Replace 'stable' tag with semver-based tags (1.2.3, 1.2, 1)
- Use 'edge' tag for main branch instead of 'latest'
- Reserve 'latest' tag only for tagged releases
- Remove version from Swagger docs (tracked via git tags instead)
- Document available image tags in README
This commit is contained in:
2025-11-27 23:59:27 +01:00
parent 1b69bec12f
commit ac521c38a8
6 changed files with 13 additions and 8 deletions
+1 -1
View File
@@ -1208,7 +1208,7 @@ const docTemplate = `{
// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = &swag.Spec{
Version: "1.0",
Version: "",
Host: "",
BasePath: "/api/v1",
Schemes: []string{},
+1 -2
View File
@@ -11,8 +11,7 @@
"license": {
"name": "MIT",
"url": "https://opensource.org/licenses/MIT"
},
"version": "1.0"
}
},
"basePath": "/api/v1",
"paths": {
-1
View File
@@ -213,7 +213,6 @@ info:
url: https://opensource.org/licenses/MIT
termsOfService: http://swagger.io/terms/
title: Apocapoc API
version: "1.0"
paths:
/auth/login:
post: