ci: add release workflow with semver Docker tags and GitHub Releases

- New release.yml: triggers on v* tags, builds/pushes Docker with vX.Y.Z, vX.Y, vX, latest tags, creates GitHub Release with changelog
- Updated docker.yml: main pushes now tag as 'edge' (dev) instead of 'latest'
- latest tag is now only set by the release workflow on version tags
This commit is contained in:
Nicolas Varrot
2026-02-12 14:44:33 +00:00
parent 0e57ab8718
commit aa158ad090
2 changed files with 106 additions and 1 deletions

View File

@@ -3,6 +3,8 @@ name: Docker
on:
push:
branches: [main]
tags-ignore:
- 'v*'
jobs:
build-and-push:
@@ -27,7 +29,7 @@ jobs:
with:
images: ghcr.io/${{ github.repository }}
tags: |
type=raw,value=latest
type=raw,value=edge
type=sha,prefix=
- name: Build and push