Use manifests to build for amd64 and arm64 (#798)

Remove Pytorch +cpu invocation, so it builds on ARM
This commit is contained in:
cybermaggedon 2026-04-13 20:51:09 +01:00 committed by Cyber MacGeddon
parent 1515dbaf08
commit 3c6adbf16a
3 changed files with 44 additions and 147 deletions

View file

@ -52,20 +52,25 @@ jobs:
strategy:
matrix:
container:
- trustgraph-base
- trustgraph-flow
- trustgraph-bedrock
- trustgraph-vertexai
- trustgraph-hf
- trustgraph-ocr
- trustgraph-unstructured
- trustgraph-mcp
- base
- flow
- bedrock
- vertexai
- hf
- ocr
- unstructured
- mcp
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU - for ARM emulation
uses: docker/setup-qemu-action@v3
with:
platforms: arm64
- name: Docker Hub token
run: echo ${{ secrets.DOCKER_SECRET }} > docker-token.txt
@ -80,8 +85,8 @@ jobs:
run: make update-package-versions VERSION=${{ steps.version.outputs.VERSION }}
- name: Build container - ${{ matrix.container }}
run: make container-${{ matrix.container }} VERSION=${{ steps.version.outputs.VERSION }}
run: make manifest-${{ matrix.container }} VERSION=${{ steps.version.outputs.VERSION }}
- name: Push container - ${{ matrix.container }}
run: make push-${{ matrix.container }} VERSION=${{ steps.version.outputs.VERSION }}
run: make push-manifest-${{ matrix.container }} VERSION=${{ steps.version.outputs.VERSION }}