mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
include build matrix to build x86_64 and aarch64
This commit is contained in:
parent
896820a349
commit
e97c6db2a3
19
.github/workflows/build-container.yml
vendored
19
.github/workflows/build-container.yml
vendored
@ -6,10 +6,23 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
- 'development'
|
- 'development'
|
||||||
|
- 'update-docker-debug'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
arch:
|
||||||
|
- x86_64
|
||||||
|
- aarch64
|
||||||
|
include:
|
||||||
|
- arch: x86_64
|
||||||
|
conda-env-file: environment.yml
|
||||||
|
- arch: aarch64
|
||||||
|
conda-env-file: environment-linux-aarch64.yml
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
name: build ${{ matrix.arch }}
|
||||||
steps:
|
steps:
|
||||||
- name: prepare docker-tag
|
- name: prepare docker-tag
|
||||||
env:
|
env:
|
||||||
@ -26,9 +39,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: docker-build/Dockerfile
|
file: docker-build/Dockerfile
|
||||||
platforms: linux/amd64
|
platforms: Linux/${{ matrix.arch }}
|
||||||
push: false
|
push: false
|
||||||
tags: ${{ env.dockertag }}:latest
|
tags: ${{ env.dockertag }}:${{ matrix.arch }}
|
||||||
build-args: |
|
build-args: |
|
||||||
|
conda_env_file=${{ matrix.conda-env-file }}
|
||||||
|
conda_version=py39_4.12.0-Linux-${{ matrix.arch }}
|
||||||
invokeai_git=${{ github.repository }}
|
invokeai_git=${{ github.repository }}
|
||||||
invokeai_branch=${{ github.ref_name }}
|
invokeai_branch=${{ github.ref_name }}
|
||||||
|
Loading…
Reference in New Issue
Block a user