From 3a7f1e23ec01133d32e45be98fe8f90193711910 Mon Sep 17 00:00:00 2001 From: Shishant Biswas Date: Sun, 15 Mar 2026 21:54:57 +0530 Subject: [PATCH] fix: image name by branch for said framework --- .gitea/workflows/build-and-deploy.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/build-and-deploy.yml b/.gitea/workflows/build-and-deploy.yml index 218f2d4..462011f 100644 --- a/.gitea/workflows/build-and-deploy.yml +++ b/.gitea/workflows/build-and-deploy.yml @@ -31,14 +31,10 @@ jobs: with: images: gitea.bsws.in/${{ github.repository }} tags: | - # 1. The specific composite tag for the 'start' branch - type=raw,value=tanstack-start-{{sha}},enable=${{ github.ref_name == 'start' }} + type=raw,value=tanstack-start-{{sha}},enable=${{ github.ref_name == 'main' }} - # 2. The 'latest' pointer for the 'start' branch - type=raw,value=tanstack-start,enable=${{ github.ref_name == 'start' }} + type=raw,value=tanstack-start,enable=${{ github.ref_name == 'main' }} - # 3. FALLBACK: Always create a tag so the build doesn't crash - # This will use the branch name automatically (e.g. :start) type=ref,event=branch - name: Build and push