uraimo / run-on-arch-action

A Github Action that executes jobs/commands on non-x86 cpu architectures (ARMv6, ARMv7, aarch64, s390x, ppc64le, riscv64) via QEMU
BSD 3-Clause "New" or "Revised" License
677 stars 149 forks source link

cache-from: type=gha | use the native Docker's official build-push-action now supports GitHub Cache API where caches are saved to GitHub Actions cache directly #69

Open MaxPeal opened 2 years ago

MaxPeal commented 2 years ago

can switch we use the Docker's official build-push-action? as now supports GitHub Cache API where caches are saved to GitHub Actions cache directly. https://github.com/docker/build-push-action/blob/master/docs/advanced/cache.md#cache-backend-api

https://dev.to/dtinth/caching-docker-builds-in-github-actions-which-approach-is-the-fastest-a-research-18ei
Warning: This article has not been updated since its publication in April 2020. The approaches outlined here are probably out-of-date. Here are more updated takes on this issue:

    2021-07-29 Docker's official build-push-action now supports GitHub Cache API where caches are saved to GitHub Actions cache directly, skipping the local filesystem-based cache.

    2021-03-21 Andy Barnov, Kirill Kuznetsov. “Build images on GitHub Actions with Docker layer caching”, Evil Martians.