Update the caching used to work the same as docker-cardano-node to work around the failing amd64 builds.