(clean up) move docker files from root to docker folder (#6109)

* fix move docker files to docker folders

* move check file length

* fix docker hub deploy
This commit is contained in:
Ishaan Jaff 2024-10-08 08:23:52 +05:30 committed by GitHub
parent ef815f3a84
commit d742e8cb43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 5 additions and 3 deletions

View file

@ -55,6 +55,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
file: ./docker/Dockerfile
push: true
tags: litellm/litellm:${{ github.event.inputs.tag || 'latest' }}
-
@ -63,7 +64,7 @@ jobs:
with:
context: .
push: true
file: Dockerfile.database
file: ./docker/Dockerfile.database
tags: litellm/litellm-database:${{ github.event.inputs.tag || 'latest' }}
-
name: Build and push litellm-spend-logs image
@ -111,6 +112,7 @@ jobs:
uses: docker/build-push-action@4976231911ebf5f32aad765192d35f942aa48cb8
with:
context: .
file: ./docker/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }}, ${{ steps.meta.outputs.tags }}-${{ github.event.inputs.release_type }} # if a tag is provided, use that, otherwise use the release tag, and if neither is available, use 'latest'
labels: ${{ steps.meta.outputs.labels }}
@ -149,7 +151,7 @@ jobs:
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: .
file: Dockerfile.database
file: ./docker/Dockerfile.database
push: true
tags: ${{ steps.meta-database.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }}, ${{ steps.meta-database.outputs.tags }}-${{ github.event.inputs.release_type }}
labels: ${{ steps.meta-database.outputs.labels }}
@ -188,7 +190,7 @@ jobs:
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: .
file: Dockerfile.non_root
file: ./docker/Dockerfile.non_root
push: true
tags: ${{ steps.meta-non_root.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }}, ${{ steps.meta-non_root.outputs.tags }}-${{ github.event.inputs.release_type }}
labels: ${{ steps.meta-non_root.outputs.labels }}