Skip to content

Commit

Permalink
Disable Docker cache mode=max for some layers in GitHub Actions to av…
Browse files Browse the repository at this point in the history
…oid timeouts

May be related to docker/buildx#841
  • Loading branch information
mnapoli committed Jan 17, 2023
1 parent fe1d963 commit b7d4e19
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b7d4e19

Please sign in to comment.