From: Pablo Zmdl Date: Tue, 10 Jun 2025 08:35:42 +0000 (+0200) Subject: Use cache for docker build X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=904416ac1a13ce9c60f48491e0200cfebe919429;p=roundcube-roundcubemail-docker.git Use cache for docker build --- diff --git a/.github/workflows/build-1.5.yml b/.github/workflows/build-1.5.yml index 1a8d728..e8140c0 100644 --- a/.github/workflows/build-1.5.yml +++ b/.github/workflows/build-1.5.yml @@ -65,6 +65,8 @@ jobs: push: false load: true tags: ${{ matrix.docker-tag }} + cache-from: type=gha + cache-to: type=gha,mode=max - name: Run tests env: diff --git a/.github/workflows/build-and-publish-nightly.yml b/.github/workflows/build-and-publish-nightly.yml index db69690..f40b98a 100644 --- a/.github/workflows/build-and-publish-nightly.yml +++ b/.github/workflows/build-and-publish-nightly.yml @@ -39,6 +39,8 @@ jobs: platforms: "linux/arm64,linux/arm/v6,linux/arm/v7,linux/386,linux/amd64," push: true tags: roundcube/roundcubemail:nightly + cache-from: type=gha + cache-to: type=gha,mode=max # does not work linux/arm/v5 AND linux/mips64le - composer does not support mips64le or armv5 nor does the php image support them on the alpine variant - name: Run tests diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7e2698b..c9da307 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -92,6 +92,8 @@ jobs: push: true tags: ${{ matrix.docker-tag }} target: ${{ matrix.target }} + cache-from: type=gha + cache-to: type=gha,mode=max # does not work linux/arm/v5 AND linux/mips64le - composer does not support mips64le or armv5 nor does the php image support them on the alpine variant - name: Run tests