Github actions building a multi-platform image using multiple Dockerfiles

  docker, github-actions

I would like to use github actions to build a multiarch image as explained here

All examples I find, use the same Dockerfile for all architectures. However, the project I am working with contains a different Dockerfile for each architecture. Is there a way to create a multi-arch image with github actions by consuming the different Dockerfiles?

Source: Docker Questions