Jekyll build action for /linux/arm/v8

I’m trying to build a docker file for my Raspberry Pi, /linux/arm/v8, k8s cluster using docker/build-push-action@v2. If I set the “platforms” property to linux/amd64 it builds and pushes to Dockerhub, but doesn’t run on my k8s cluster. If I change my platform to /linux/arm/v8, the build fails with this error. Can I not build a Jekyll image for the /linux/arm/v8 platform?

buildx call failed with: failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c bundle install &&     jekyll build]: exit code: 1

Here is my github-pages.yml:

name: Build and deploy Jekyll site to GitHub Pages

on:
  push:
    branches:
      - master

jobs:
  github-pages:
    runs-on: ubuntu-18.04
    steps:
      - uses: actions/checkout@v2
      - uses: helaili/jekyll-action@2.0.1
        env:
          JEKYLL_PAT: ${{ secrets.JEKYLL_PAT }}
  build:
    runs-on: ubuntu-18.04
    steps:
      - uses: actions/checkout@v2
      - uses: docker/setup-buildx-action@v1
      - uses: docker/login-action@v1
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      - uses: docker/build-push-action@v2
        with:
          context: .
#          platforms: linux/arm/v8
# buildx call failed with: failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c bundle install &&     jekyll build]: exit code: 1
          platforms: linux/amd64
          tags: stevecmitchell/jekyll-blog:latest
          push: true