fix cache

This commit is contained in:
2024-03-17 14:33:32 +07:00
parent 8d2f97f62b
commit a4fd61c743

View File

@@ -44,7 +44,7 @@ jobs:
--build-arg BUILDKIT_INLINE_CACHE=1 \ --build-arg BUILDKIT_INLINE_CACHE=1 \
--build-arg COMPOSER_VERSION=${{ env.COMPOSER_VERSION }} \ --build-arg COMPOSER_VERSION=${{ env.COMPOSER_VERSION }} \
--cache-from="type=registry,ref=dannecron/php-for-dev:${{ matrix.php_version }}.cache,mode=max" \ --cache-from="type=registry,ref=dannecron/php-for-dev:${{ matrix.php_version }}.cache,mode=max" \
--cache-to="type=registry,dannecron/php-for-dev:${{ matrix.php_version }}.cache,mode=max" \ --cache-to="type=registry,ref=dannecron/php-for-dev:${{ matrix.php_version }}.cache,mode=max" \
--tag=dannecron/php-for-dev:${{ matrix.php_version }} \ --tag=dannecron/php-for-dev:${{ matrix.php_version }} \
$(if test "${{ matrix.php_version }}" = "8.0"; then printf %s '--tag=dannecron/php-for-dev:latest'; fi) \ $(if test "${{ matrix.php_version }}" = "8.0"; then printf %s '--tag=dannecron/php-for-dev:latest'; fi) \
./v${{ matrix.php_version }} ./v${{ matrix.php_version }}