Skip to content

Commit d742e8c

Browse files
authored
(clean up) move docker files from root to docker folder (BerriAI#6109)
* fix move docker files to docker folders * move check file length * fix docker hub deploy
1 parent ef815f3 commit d742e8c

7 files changed

+5
-3
lines changed

.github/workflows/ghcr_deploy.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
uses: docker/build-push-action@v5
5656
with:
5757
context: .
58+
file: ./docker/Dockerfile
5859
push: true
5960
tags: litellm/litellm:${{ github.event.inputs.tag || 'latest' }}
6061
-
@@ -63,7 +64,7 @@ jobs:
6364
with:
6465
context: .
6566
push: true
66-
file: Dockerfile.database
67+
file: ./docker/Dockerfile.database
6768
tags: litellm/litellm-database:${{ github.event.inputs.tag || 'latest' }}
6869
-
6970
name: Build and push litellm-spend-logs image
@@ -111,6 +112,7 @@ jobs:
111112
uses: docker/build-push-action@4976231911ebf5f32aad765192d35f942aa48cb8
112113
with:
113114
context: .
115+
file: ./docker/Dockerfile
114116
push: true
115117
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'
116118
labels: ${{ steps.meta.outputs.labels }}
@@ -149,7 +151,7 @@ jobs:
149151
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
150152
with:
151153
context: .
152-
file: Dockerfile.database
154+
file: ./docker/Dockerfile.database
153155
push: true
154156
tags: ${{ steps.meta-database.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }}, ${{ steps.meta-database.outputs.tags }}-${{ github.event.inputs.release_type }}
155157
labels: ${{ steps.meta-database.outputs.labels }}
@@ -188,7 +190,7 @@ jobs:
188190
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
189191
with:
190192
context: .
191-
file: Dockerfile.non_root
193+
file: ./docker/Dockerfile.non_root
192194
push: true
193195
tags: ${{ steps.meta-non_root.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }}, ${{ steps.meta-non_root.outputs.tags }}-${{ github.event.inputs.release_type }}
194196
labels: ${{ steps.meta-non_root.outputs.labels }}
File renamed without changes.

Dockerfile docker/Dockerfile

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)