diff --git a/.github/workflows/rtpproxy_ci.yml b/.github/workflows/rtpproxy_ci.yml index 8b686aa74..9b4e875c8 100644 --- a/.github/workflows/rtpproxy_ci.yml +++ b/.github/workflows/rtpproxy_ci.yml @@ -467,6 +467,7 @@ jobs: build-args: BASE_IMAGE=${{ env.BASE_IMAGE }} tags: ${{ env.LOCAL_REPO }}:latest platforms: ${{ env.PLATFORMS }} + outputs: type=tar,dest=/tmp/ccache_export.tar push: true cache-from: ${{ env.CACHE_SPEC }} cache-to: ${{ env.CACHE_SPEC }},mode=max @@ -488,3 +489,9 @@ jobs: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} run: sh -x docker/update_description.sh docker/README.md + + - name: Extract ccaches + run: | + rm -rf ccache + tar --strip-components=2 --no-wildcards-match-slash --wildcards -x -f /tmp/ccache_export.tar "*/rtpproxy/ccache" + du -d1 -h ccache