feat: multi arch docker images (#2123)

This commit is contained in:
Nicolò Boschi 2024-06-11 10:12:31 +02:00 • committed by GitHub
commit 1110494615
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 40 additions and 3 deletions

View file

@ -38,6 +38,7 @@ jobs:
poetry publish
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
id: qemu
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
@ -51,6 +52,7 @@ jobs:
context: .
push: true
file: ./docker/build_and_push.Dockerfile
platforms: "linux/amd64,linux/arm64/v8"
tags: |
langflowai/langflow:${{ steps.check-version.outputs.version }}
langflowai/langflow:latest
@ -62,6 +64,7 @@ jobs:
context: .
push: true
file: ./docker/build_and_push_backend.Dockerfile
platforms: "linux/amd64,linux/arm64/v8"
build-args: |
LANGFLOW_IMAGE=langflowai/langflow:${{ steps.check-version.outputs.version }}
tags: |
@ -73,6 +76,7 @@ jobs:
context: .
push: true
file: ./docker/frontend/build_and_push_frontend.Dockerfile
platforms: "linux/amd64,linux/arm64/v8"
tags: |
langflowai/langflow-frontend:${{ steps.check-version.outputs.version }}
langflowai/langflow-frontend:latest