github actions : failed to fetch an image or build from source: image must be amd64 architecture for linux os, found arm64 linux

trying to deploy a docker image using github action. getting this

im using GitHub - docker/build-push-action: GitHub Action to build and push Docker images with Buildx to build the docker image.
as seen below my image is amd64. not sure why im unable to do this

Might be a caching problem? if latest at one time was arm64, that might be what we have in our caches.

You can work around this problem by fully specifying the image: