Skip to content

Commit 165b188

Browse files
committed
fix docker img deploy - deploy stable releases from main-stable
1 parent f5e9211 commit 165b188

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/ghcr_deploy.yml

+11-7
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ jobs:
114114
tags: |
115115
${{ steps.meta.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }},
116116
${{ steps.meta.outputs.tags }}-${{ github.event.inputs.release_type }}
117-
${{ github.event.inputs.release_type == 'stable' && format('${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:main-{0}', github.event.inputs.tag) || '' }},
118-
${{ github.event.inputs.release_type == 'stable' && '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:main-stable' || '' }}
117+
${{ github.event.inputs.release_type == 'stable' && format('{0}/berriai/litellm:main-{1}', env.REGISTRY, github.event.inputs.tag) || '' }},
118+
${{ github.event.inputs.release_type == 'stable' && format('{0}/berriai/litellm:main-stable', env.REGISTRY) || '' }}
119119
labels: ${{ steps.meta.outputs.labels }}
120120
platforms: local,linux/amd64,linux/arm64,linux/arm64/v8
121121

@@ -157,8 +157,8 @@ jobs:
157157
tags: |
158158
${{ steps.meta-database.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }},
159159
${{ steps.meta-database.outputs.tags }}-${{ github.event.inputs.release_type }}
160-
${{ github.event.inputs.release_type == 'stable' && format('${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-database:main-{0}', github.event.inputs.tag) || '' }},
161-
${{ github.event.inputs.release_type == 'stable' && '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-database:main-stable' || '' }}
160+
${{ github.event.inputs.release_type == 'stable' && format('{0}/berriai/litellm-database:main-{1}', env.REGISTRY, github.event.inputs.tag) || '' }},
161+
${{ github.event.inputs.release_type == 'stable' && format('{0}/berriai/litellm-database:main-stable', env.REGISTRY) || '' }}
162162
labels: ${{ steps.meta-database.outputs.labels }}
163163
platforms: local,linux/amd64,linux/arm64,linux/arm64/v8
164164

@@ -200,8 +200,8 @@ jobs:
200200
tags: |
201201
${{ steps.meta-non_root.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }},
202202
${{ steps.meta-non_root.outputs.tags }}-${{ github.event.inputs.release_type }}
203-
${{ github.event.inputs.release_type == 'stable' && format('${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-non_root:main-{0}', github.event.inputs.tag) || '' }},
204-
${{ github.event.inputs.release_type == 'stable' && '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-non_root:main-stable' || '' }}
203+
${{ github.event.inputs.release_type == 'stable' && format('{0}/berriai/litellm-non_root:main-{1}', env.REGISTRY, github.event.inputs.tag) || '' }},
204+
${{ github.event.inputs.release_type == 'stable' && format('{0}/berriai/litellm-non_root:main-stable', env.REGISTRY) || '' }}
205205
labels: ${{ steps.meta-non_root.outputs.labels }}
206206
platforms: local,linux/amd64,linux/arm64,linux/arm64/v8
207207

@@ -240,7 +240,11 @@ jobs:
240240
context: .
241241
file: ./litellm-js/spend-logs/Dockerfile
242242
push: true
243-
tags: ${{ steps.meta-spend-logs.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }}, ${{ steps.meta-spend-logs.outputs.tags }}-${{ github.event.inputs.release_type }}
243+
tags: |
244+
${{ steps.meta-spend-logs.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }},
245+
${{ steps.meta-spend-logs.outputs.tags }}-${{ github.event.inputs.release_type }}
246+
${{ github.event.inputs.release_type == 'stable' && format('{0}/berriai/litellm-spend_logs:main-{1}', env.REGISTRY, github.event.inputs.tag) || '' }},
247+
${{ github.event.inputs.release_type == 'stable' && format('{0}/berriai/litellm-spend_logs:main-stable', env.REGISTRY) || '' }}
244248
platforms: local,linux/amd64,linux/arm64,linux/arm64/v8
245249

246250
build-and-push-helm-chart:

0 commit comments

Comments
 (0)