Skip to content

Commit

Permalink
Improve caching in GitHub Action workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
arnested committed Sep 6, 2024
1 parent 1cf9386 commit 931b9be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 931b9be

Please sign in to comment.