add semver tags

This commit is contained in:
maxDorninger
2025-06-01 21:12:38 +02:00
parent 18605683a8
commit b14e287666
2 changed files with 11 additions and 0 deletions

View File

@@ -6,6 +6,14 @@ on:
- master
tags:
- 'v*.*.*'
paths:
- 'media_manager/**'
- 'alembic/**'
- 'alembic.ini'
- 'Dockerfile'
- 'pyproject.toml'
- 'uv.lock'
- '.github/workflows/build-push-backend.yml'
workflow_dispatch:
jobs:

View File

@@ -38,6 +38,9 @@ jobs:
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
type=ref,event=tag
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
- name: Build and push Docker image