mirror of
https://github.com/shishantbiswas/bknd-examples.git
synced 2026-03-15 18:01:06 +00:00
fix: latest tag image name (forced)
All checks were successful
Build and Push to Gitea Registry / build-and-push (push) Successful in 6m27s
All checks were successful
Build and Push to Gitea Registry / build-and-push (push) Successful in 6m27s
This commit is contained in:
@@ -31,9 +31,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
images: gitea.bsws.in/${{ github.repository }}
|
images: gitea.bsws.in/${{ github.repository }}
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=tanstack-start-{{sha}},enable=${{ github.ref == 'refs/heads/start' }}
|
# 1. The specific composite tag for the 'start' branch
|
||||||
type=raw,value=tanstack-start,enable=${{ github.ref == 'refs/heads/start' }}
|
type=raw,value=tanstack-start-{{sha}},enable=${{ github.ref_name == 'start' }}
|
||||||
|
|
||||||
|
# 2. The 'latest' pointer for the 'start' branch
|
||||||
|
type=raw,value=tanstack-start,enable=${{ github.ref_name == 'start' }}
|
||||||
|
|
||||||
|
# 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
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user