forked from phoenix/litellm-mirror
Merge pull request #2525 from BerriAI/litellm_multi_platform_docker_db
(fix) multiplatform docker db builds
This commit is contained in:
commit
e8ff9826a6
1 changed files with 7 additions and 0 deletions
7
.github/workflows/ghcr_deploy.yml
vendored
7
.github/workflows/ghcr_deploy.yml
vendored
|
@ -103,6 +103,11 @@ jobs:
|
||||||
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
|
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-database
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-database
|
||||||
|
# Configure multi platform Docker builds
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@e0e4588fad221d38ee467c0bffd91115366dc0c5
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@edfb0fe6204400c56fbfd3feba3fe9ad1adfa345
|
||||||
|
|
||||||
- name: Build and push Database Docker image
|
- name: Build and push Database Docker image
|
||||||
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
|
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
|
||||||
|
@ -112,6 +117,8 @@ jobs:
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta-database.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }}, ${{ steps.meta-database.outputs.tags }}-latest
|
tags: ${{ steps.meta-database.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }}, ${{ steps.meta-database.outputs.tags }}-latest
|
||||||
labels: ${{ steps.meta-database.outputs.labels }}
|
labels: ${{ steps.meta-database.outputs.labels }}
|
||||||
|
platforms: local,linux/amd64,linux/arm64,linux/arm64/v8
|
||||||
|
|
||||||
release:
|
release:
|
||||||
name: "New LiteLLM Release"
|
name: "New LiteLLM Release"
|
||||||
needs: [docker-hub-deploy, build-and-push-image, build-and-push-image-database]
|
needs: [docker-hub-deploy, build-and-push-image, build-and-push-image-database]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue