Skip to content

Commit

Permalink
Use cache-from for the base
Browse files Browse the repository at this point in the history
  • Loading branch information
en-jschuetze authored Jan 16, 2025
1 parent 07c7143 commit bfea3d6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ jobs:
platforms: ${{ matrix.platform }}
tags: temporary-build-image-${{ env.PLATFORM_PAIR }}
target: php-zts-base
cache-to: type=gha,mode=max,scope=${{ env.PLATFORM_PAIR }}-base
cache-from: type=gha,scope=${{ env.PLATFORM_PAIR }}-8-4-base
cache-to: type=gha,mode=max,scope=${{ env.PLATFORM_PAIR }}-8-4-base
outputs: type=docker,dest=/tmp/${{ env.PLATFORM_PAIR }}-base.tar
- name: Load image
run: |
Expand Down Expand Up @@ -126,7 +127,7 @@ jobs:
platforms: ${{ matrix.platform }}
tags: temporary-build-image-${{ env.PLATFORM_PAIR }}
target: ${{ matrix.module }}
cache-from: type=gha,scope=${{ env.PLATFORM_PAIR }}-base
cache-from: type=gha,scope=${{ env.PLATFORM_PAIR }}-8-4-base
cache-to: type=gha,mode=max,scope=${{ env.PLATFORM_PAIR }}-${{ matrix.module }}
outputs: type=docker,dest=/tmp/${{ env.PLATFORM_PAIR }}-${{ matrix.module }}.tar
- name: Load image
Expand Down Expand Up @@ -186,7 +187,7 @@ jobs:
platforms: ${{ matrix.platform }}
tags: temporary-build-image-${{ env.PLATFORM_PAIR }}
cache-from: |
type=gha,scope=${{ env.PLATFORM_PAIR }}-base
type=gha,scope=${{ env.PLATFORM_PAIR }}-8-4-base
type=gha,scope=${{ env.PLATFORM_PAIR }}-pecl-builder-amqp
type=gha,scope=${{ env.PLATFORM_PAIR }}-pecl-builder-apcu
type=gha,scope=${{ env.PLATFORM_PAIR }}-pecl-builder-igbinary
Expand Down

0 comments on commit bfea3d6

Please sign in to comment.