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

@ -66,6 +66,7 @@ jobs:
- uses: actions/checkout@v4
- 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
@ -79,6 +80,7 @@ jobs:
context: .
push: true
file: ./docker/build_and_push.Dockerfile
platforms: "linux/amd64,linux/arm64/v8"
tags: |
langflowai/langflow:${{ needs.release.outputs.version }}
langflowai/langflow:1.0-alpha
@ -88,6 +90,7 @@ jobs:
context: .
push: true
file: ./docker/frontend/build_and_push_frontend.Dockerfile
platforms: "linux/amd64,linux/arm64/v8"
tags: |
langflowai/langflow-frontend:${{ needs.release.outputs.version }}
langflowai/langflow-frontend:1.0-alpha
@ -99,6 +102,7 @@ jobs:
context: .
push: true
file: ./docker/build_and_push_backend.Dockerfile
platforms: "linux/amd64,linux/arm64/v8"
build-args: |
LANGFLOW_IMAGE=langflowai/langflow:${{ needs.release.outputs.version }}
tags: |