From 5650ee231f315a2f5cf00e720ae59c2362efd20f Mon Sep 17 00:00:00 2001 From: Sze Ching Date: Wed, 28 Jan 2026 17:30:30 +0000 Subject: [PATCH] feat(graph-proxy): make a container for branch when push --- .github/workflows/_graph_proxy_container.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/_graph_proxy_container.yaml b/.github/workflows/_graph_proxy_container.yaml index 2b9e0b85e..2e024d900 100644 --- a/.github/workflows/_graph_proxy_container.yaml +++ b/.github/workflows/_graph_proxy_container.yaml @@ -35,6 +35,7 @@ jobs: images: ${{ env.IMAGE_REPOSITORY }} tags: | type=raw,value=${{ steps.tags.outputs.version }} + type=raw,value=${{ github.ref_name }} type=raw,value=latest - name: Set up Docker Buildx @@ -47,7 +48,7 @@ jobs: context: backend file: backend/Dockerfile.graph-proxy target: deploy - push: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/graph-proxy@') }} + push: ${{ github.event_name == 'push' && (github.ref_type == 'branch' || startsWith(github.ref, 'ref/tags/graph-proxy@')) }} load: ${{ !(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/graph-proxy@')) }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}