move helm after build and use litellm for chart_name

This commit is contained in:
Mikio Stewart 2024-07-10 15:37:38 -07:00
parent aace0b22a3
commit 9d5b8fa0ca

View file

@ -18,6 +18,7 @@ env:
REGISTRY: ghcr.io REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }} IMAGE_NAME: ${{ github.repository }}
CHART_NAME: litellm-helm CHART_NAME: litellm-helm
APP_NAME: litellm
# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu. # There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu.
jobs: jobs:
@ -186,6 +187,7 @@ jobs:
platforms: local,linux/amd64,linux/arm64,linux/arm64/v8 platforms: local,linux/amd64,linux/arm64,linux/arm64/v8
build-and-push-helm-chart: build-and-push-helm-chart:
needs: [docker-hub-deploy, build-and-push-image, build-and-push-image-database]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout repository
@ -203,9 +205,12 @@ jobs:
- name: lowercase github.repository_owner - name: lowercase github.repository_owner
run: | run: |
echo "REPO_OWNER=`echo ${{github.repository_owner}} | tr '[:upper:]' '[:lower:]'`" >>${GITHUB_ENV} echo "REPO_OWNER=`echo ${{github.repository_owner}} | tr '[:upper:]' '[:lower:]'`" >>${GITHUB_ENV}
- name: Get LiteLLM Latest Tag - name: Get LiteLLM Latest Tag
id: current_app_tag id: current_app_tag
uses: WyriHaximus/github-action-get-previous-tag@v1.3.0 uses: WyriHaximus/github-action-get-previous-tag@v1.3.0
env:
CHART_NAME: ${{ env.APP_NAME }}
- name: Get last published chart version - name: Get last published chart version
id: current_version id: current_version