From b23d0ed6dfea49e0929c816a149add1d18ce3186 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Sat, 15 Mar 2025 19:37:55 -0700 Subject: [PATCH] fix ghcr build --- .github/workflows/ghcr_deploy.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ghcr_deploy.yml b/.github/workflows/ghcr_deploy.yml index 96269ad64be..9088dcf117f 100644 --- a/.github/workflows/ghcr_deploy.yml +++ b/.github/workflows/ghcr_deploy.yml @@ -114,8 +114,8 @@ jobs: tags: | ${{ steps.meta.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }}, ${{ steps.meta.outputs.tags }}-${{ github.event.inputs.release_type }} - ${{ github.event.inputs.release_type == 'stable' && 'litellm:main-stable' || '' }}, - ${{ github.event.inputs.release_type == 'stable' && 'litellm:main-' + github.event.inputs.tag || '' }} + ${{ github.event.inputs.release_type == 'stable' && format('litellm:main-{0}', github.event.inputs.tag) || '' }}, + ${{ github.event.inputs.release_type == 'stable' && 'litellm:main-stable' || '' }} labels: ${{ steps.meta.outputs.labels }} platforms: local,linux/amd64,linux/arm64,linux/arm64/v8 @@ -157,8 +157,8 @@ jobs: tags: | ${{ steps.meta-database.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }}, ${{ steps.meta-database.outputs.tags }}-${{ github.event.inputs.release_type }} - ${{ github.event.inputs.release_type == 'stable' && 'litellm-database:main-stable' || '' }}, - ${{ github.event.inputs.release_type == 'stable' && 'litellm-database:main-' + github.event.inputs.tag || '' }} + ${{ github.event.inputs.release_type == 'stable' && format('litellm-database:main-{0}', github.event.inputs.tag) || '' }}, + ${{ github.event.inputs.release_type == 'stable' && 'litellm-database:main-stable' || '' }} labels: ${{ steps.meta-database.outputs.labels }} platforms: local,linux/amd64,linux/arm64,linux/arm64/v8 @@ -200,8 +200,8 @@ jobs: tags: | ${{ steps.meta-non_root.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }}, ${{ steps.meta-non_root.outputs.tags }}-${{ github.event.inputs.release_type }} - ${{ github.event.inputs.release_type == 'stable' && 'litellm-non_root:main-stable' || '' }}, - ${{ github.event.inputs.release_type == 'stable' && 'litellm-non_root:main-' + github.event.inputs.tag || '' }} + ${{ github.event.inputs.release_type == 'stable' && format('litellm-non_root:main-{0}', github.event.inputs.tag) || '' }}, + ${{ github.event.inputs.release_type == 'stable' && 'litellm-non_root:main-stable' || '' }} labels: ${{ steps.meta-non_root.outputs.labels }} platforms: local,linux/amd64,linux/arm64,linux/arm64/v8