Skip to content

fix: add parse tests for every supported extensions #25

fix: add parse tests for every supported extensions

fix: add parse tests for every supported extensions #25

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