From dbd1d4d2e8749ef870cec0b269e15d5984d91ae5 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Fri, 1 Aug 2025 17:23:19 +0000 Subject: [PATCH] feat: use cache-{from,to}: type=gha in the docker/build-push-action example (#783) Resolves forgejo/runner#208 - features - [PR](https://code.forgejo.org/forgejo/runner/pulls/783): feat: use cache-{from,to}: type=gha in the docker/build-push-action example Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/783 Reviewed-by: Michael Kriese Co-authored-by: Earl Warren Co-committed-by: Earl Warren --- .forgejo/workflows/docker-build-push-action-in-lxc.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.forgejo/workflows/docker-build-push-action-in-lxc.yml b/.forgejo/workflows/docker-build-push-action-in-lxc.yml index fe6b4eed..1b913008 100644 --- a/.forgejo/workflows/docker-build-push-action-in-lxc.yml +++ b/.forgejo/workflows/docker-build-push-action-in-lxc.yml @@ -71,6 +71,8 @@ jobs: context: examples/docker-build-push-action push: true tags: ${{ steps.registry.outputs.host-port }}/root/testimage:latest + cache-from: type=gha,scope=docker-build-push-action-in-lxc + cache-to: type=gha,scope=docker-build-push-action-in-lxc - name: verify the image can be read from the Forgejo registry run: |