diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 0468d5f..c420de4 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -39,6 +39,8 @@ jobs: context: . platforms: ${{ matrix.platform }} build-args: "php=${{ matrix.php }}" + cache-from: type=gha + cache-to: type=gha,mode=max labels: | org.opencontainers.image.title=PHP ${{ matrix.php }} org.opencontainers.image.description=Docker image for PHP ${{ matrix.php }} FPM diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 692253a..0202b81 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,6 +53,8 @@ jobs: context: . platforms: linux/amd64,linux/arm64 build-args: "php=${{ matrix.php }}" + cache-from: type=gha + cache-to: type=gha,mode=max labels: | org.opencontainers.image.title=PHP ${{ matrix.php }} org.opencontainers.image.description=Docker image for PHP ${{ matrix.php }} FPM