Skip to content

Commit

Permalink
(clean up) move docker files from root to docker folder (BerriAI#6109)
Browse files Browse the repository at this point in the history
* fix move docker files to docker folders

* move check file length

* fix docker hub deploy
  • Loading branch information
ishaan-jaff authored Oct 8, 2024
1 parent ef815f3 commit d742e8c
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ghcr_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
-
Expand All @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d742e8c

Please sign in to comment.