fix: image name by branch for said framework with sha
All checks were successful
Build and Push to Gitea Registry / build-and-push (push) Successful in 6m7s

This commit is contained in:
2026-03-15 22:08:39 +05:30
parent 3a7f1e23ec
commit 9e6beb728d

View File

@@ -31,12 +31,21 @@ jobs:
with:
images: gitea.bsws.in/${{ github.repository }}
tags: |
type=raw,value=tanstack-start-{{sha}},enable=${{ github.ref_name == 'main' }}
# 1. Unique composite tag (e.g., tanstack-start-6b31d4d)
# We use the 'priority' to ensure this is treated as a primary tag
type=raw,value=tanstack-start-{{sha}},enable=${{ github.ref_name == 'main' }},priority=1000
type=raw,value=tanstack-start,enable=${{ github.ref_name == 'main' }}
# 2. The stable pointer (e.g., tanstack-start)
type=raw,value=tanstack-start,enable=${{ github.ref_name == 'main' }},priority=900
type=ref,event=branch
# 3. Standard branch fallback (e.g., start)
type=ref,event=branch
- name: Inspect Generated Tags
run: |
echo "The following tags will be applied:"
echo "${{ steps.meta.outputs.tags }}"
- name: Build and push
uses: docker/build-push-action@v6
with: