Skip to content

Commit c17a0c2

Browse files
committed
ci: push latest tag on mvp branch for gateway and supervisor
mvp is the active dev branch on this fork; consumers (kagenti/kagenti Helm chart) reference :latest so they pick up updates automatically without per-SHA coordination. Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com> Signed-off-by: Paolo Dettori <dettori@us.ibm.com>
1 parent d2b21ab commit c17a0c2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
tags: |
5151
type=ref,event=tag
5252
type=sha,prefix={{branch}}-,enable=${{ github.ref_type != 'tag' }}
53-
type=raw,value=latest,enable=${{ (github.ref_type == 'tag' && startsWith(github.ref_name, 'v')) || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/main' }}
53+
type=raw,value=latest,enable=${{ (github.ref_type == 'tag' && startsWith(github.ref_name, 'v')) || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/mvp' }}
5454
5555
- name: Wait before retry
5656
if: steps.meta.outcome == 'failure'
@@ -67,7 +67,7 @@ jobs:
6767
tags: |
6868
type=ref,event=tag
6969
type=sha,prefix={{branch}}-,enable=${{ github.ref_type != 'tag' }}
70-
type=raw,value=latest,enable=${{ (github.ref_type == 'tag' && startsWith(github.ref_name, 'v')) || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/main' }}
70+
type=raw,value=latest,enable=${{ (github.ref_type == 'tag' && startsWith(github.ref_name, 'v')) || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/mvp' }}
7171
7272
- name: Build and push gateway image
7373
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
@@ -116,7 +116,7 @@ jobs:
116116
tags: |
117117
type=ref,event=tag
118118
type=sha,prefix={{branch}}-,enable=${{ github.ref_type != 'tag' }}
119-
type=raw,value=latest,enable=${{ (github.ref_type == 'tag' && startsWith(github.ref_name, 'v')) || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/main' }}
119+
type=raw,value=latest,enable=${{ (github.ref_type == 'tag' && startsWith(github.ref_name, 'v')) || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/mvp' }}
120120
121121
- name: Wait before retry
122122
if: steps.meta.outcome == 'failure'
@@ -133,7 +133,7 @@ jobs:
133133
tags: |
134134
type=ref,event=tag
135135
type=sha,prefix={{branch}}-,enable=${{ github.ref_type != 'tag' }}
136-
type=raw,value=latest,enable=${{ (github.ref_type == 'tag' && startsWith(github.ref_name, 'v')) || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/main' }}
136+
type=raw,value=latest,enable=${{ (github.ref_type == 'tag' && startsWith(github.ref_name, 'v')) || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/mvp' }}
137137
138138
- name: Build and push supervisor image
139139
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0

0 commit comments

Comments
 (0)