feat: add dev branch to CI/CD pipeline and semver tag support

This commit is contained in:
V1ck3s
2026-01-08 18:11:44 +01:00
parent 651b86694d
commit d0e64bac81

View File

@@ -6,7 +6,7 @@ on:
tags: ['v*']
pull_request:
types: [closed]
branches: [master]
branches: [master, dev]
env:
DOTNET_VERSION: "9.0.x"
@@ -72,7 +72,11 @@ jobs:
tags: |
type=ref,event=branch
type=sha,prefix=
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }}
type=raw,value=dev,enable=${{ github.ref == 'refs/heads/dev' }}
- name: Build and push
uses: docker/build-push-action@v6