From ab39a2343c9fcfd5b5d0096b26931a4fc22e4d6d Mon Sep 17 00:00:00 2001 From: "Matthieu Baerts (NGI0)" Date: Wed, 16 Oct 2024 12:00:10 +0200 Subject: [PATCH] gh: docker: use registry cache The experimental gha one doesn't seem to work as expected. Signed-off-by: Matthieu Baerts (NGI0) --- .github/workflows/dockerhub.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dockerhub.yml b/.github/workflows/dockerhub.yml index 2c5edb9..38375a6 100644 --- a/.github/workflows/dockerhub.yml +++ b/.github/workflows/dockerhub.yml @@ -43,8 +43,8 @@ jobs: with: platforms: linux/amd64,linux/arm64 push: true - cache-from: type=gha - cache-to: type=gha,mode=max + cache-from: type=registry,ref=mptcp/mptcp-upstream-virtme-docker:${{ github.ref_name }} + cache-to: type=inline tags: | mptcp/mptcp-upstream-virtme-docker:${{ github.ref_name }} ghcr.io/${{ github.repository }}:${{ github.ref_name }}