Skip to content

Commit 4acb105

Browse files
committed
fix{graph-proxy): remove latest tag from branch push
1 parent ed50a9c commit 4acb105

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/_graph_proxy_container.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ jobs:
3434
with:
3535
images: ${{ env.IMAGE_REPOSITORY }}
3636
tags: |
37-
type=raw,value=${{ steps.tags.outputs.version }}
37+
type=raw,value=${{ steps.tags.outputs.version }},enable=${{ startsWith(github.ref, 'refs/tags/graph-proxy@') }}
38+
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/graph-proxy@') }}
3839
type=raw,value=${{ github.ref_name }}
39-
type=raw,value=latest
4040
4141
- name: Set up Docker Buildx
4242
uses: docker/setup-buildx-action@v3.11.1
@@ -48,7 +48,7 @@ jobs:
4848
context: backend
4949
file: backend/Dockerfile.graph-proxy
5050
target: deploy
51-
push: ${{ github.event_name == 'push' && (github.ref_type == 'branch' || startsWith(github.ref, 'refs/tags/graph-proxy@')) }}
51+
push: ${{ github.event_name == 'push' }}
5252
load: ${{ !(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/graph-proxy@')) }}
5353
tags: ${{ steps.meta.outputs.tags }}
5454
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)