media-roller icon indicating copy to clipboard operation
media-roller copied to clipboard

GitHub Actions: Caching

Open ddjerqq opened this issue 5 months ago • 0 comments

Caching can be very easily added to GitHub Actions

steps:
  - name: "[🐳] Build and Push Docker Image"
    id: build-push
    uses: docker/build-push-action@v6
    with:
      context: .
      push: true
      platforms: linux/amd64,linux/arm64
      tags: ${{ env.DOCKER_IMAGE_NAME }}:latest
++    cache-from: type=gha
++    cache-to: type=gha,mode=max

It will significantly speed up the deployment and build process, I can add this also

ddjerqq avatar Sep 16 '25 14:09 ddjerqq