From d85069e3da4015a91eb36e533eb0d2ee89ae50e8 Mon Sep 17 00:00:00 2001 From: crashdev226 Date: Tue, 17 Jan 2023 10:18:04 +0100 Subject: [PATCH] Disable Docker cache mode=max for some layers in GitHub Actions to avoid timeouts May be related to https://github.com/docker/buildx/issues/841 --- .github/workflows/tests.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0f0ddab..3e19347 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -51,15 +51,15 @@ jobs: build-php.cache-from=type=gha,scope=build-${{ matrix.cpu }}-php-${{ matrix.php_version }} build-php.cache-to=type=gha,scope=build-${{ matrix.cpu }}-php-${{ matrix.php_version }},mode=max php.cache-from=type=gha,scope=${{ matrix.cpu }}-php-${{ matrix.php_version }} - php.cache-to=type=gha,scope=${{ matrix.cpu }}-php-${{ matrix.php_version }},mode=max + php.cache-to=type=gha,scope=${{ matrix.cpu }}-php-${{ matrix.php_version }} php-fpm.cache-from=type=gha,scope=${{ matrix.cpu }}-php-fpm-${{ matrix.php_version }} - php-fpm.cache-to=type=gha,scope=${{ matrix.cpu }}-php-fpm-${{ matrix.php_version }},mode=max + php-fpm.cache-to=type=gha,scope=${{ matrix.cpu }}-php-fpm-${{ matrix.php_version }} fpm-internal-src.cache-from=type=gha,scope=${{ matrix.cpu }}-fpm-internal-src-${{ matrix.php_version }} - fpm-internal-src.cache-to=type=gha,scope=${{ matrix.cpu }}-fpm-internal-src-${{ matrix.php_version }},mode=max + fpm-internal-src.cache-to=type=gha,scope=${{ matrix.cpu }}-fpm-internal-src-${{ matrix.php_version }} console.cache-from=type=gha,scope=${{ matrix.cpu }}-console-${{ matrix.php_version }} - console.cache-to=type=gha,scope=${{ matrix.cpu }}-console-${{ matrix.php_version }},mode=max + console.cache-to=type=gha,scope=${{ matrix.cpu }}-console-${{ matrix.php_version }} php-fpm-dev.cache-from=type=gha,scope=${{ matrix.cpu }}-php-fpm-dev-${{ matrix.php_version }} - php-fpm-dev.cache-to=type=gha,scope=${{ matrix.cpu }}-php-fpm-dev-${{ matrix.php_version }},mode=max + php-fpm-dev.cache-to=type=gha,scope=${{ matrix.cpu }}-php-fpm-dev-${{ matrix.php_version }} - run: docker image ls