fix(ci): skip docker if unavailable, no latest tag for prereleases
All checks were successful
Test and Build / test (push) Successful in 1m33s
Test and Build / build (push) Successful in 8s

Gitea: Skip docker build gracefully if docker command not available
GitHub: Only tag as latest for stable releases (not alpha/beta/rc)
This commit is contained in:
2025-11-30 22:36:03 -05:00
parent 291d0e78df
commit 830715abb3
2 changed files with 8 additions and 6 deletions

View File

@@ -54,7 +54,7 @@ jobs:
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=raw,value=latest
type=raw,value=latest,enable=${{ !contains(github.ref, '-alpha') && !contains(github.ref, '-beta') && !contains(github.ref, '-rc') }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3