Skip to content

fix: Strategy heuristic test & fix #45

fix: Strategy heuristic test & fix

fix: Strategy heuristic test & fix #45

on:
pull_request:
branches:
- main
name: Test build docker
jobs:
build-docker:
runs-on: ubuntu-latest
strategy:
matrix:
dockerfile: [Dockerfile, Dockerfile.gpu]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: all
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker image with caching
uses: docker/build-push-action@v4
with:
context: .
file: ${{ matrix.dockerfile }}
push: false
tags: quivrhq/megaparse:${{ matrix.dockerfile }}
cache-from: type=gha
cache-to: type=gha,mode=max