Skip to content

Commit 046c424

Browse files
committed
chore: Update build workflow to support multi-platform builds and improve caching
1 parent 70d959a commit 046c424

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/build-8.4-laravel-dev.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@ jobs:
2828
uses: docker/build-push-action@v5
2929
with:
3030
context: 8.4-laravel-dev
31-
platforms: linux/amd64,linux/arm64,linux/arm/v7
31+
platforms: linux/amd64
3232
push: true
3333
tags: tediscript/apache-php:8.4-laravel-dev
34+
cache-from: type=registry,ref=tediscript/apache-php:8.4-laravel-dev-buildcache
35+
cache-to: type=registry,ref=tediscript/apache-php:8.4-laravel-dev-buildcache,mode=max
3436

3537
- name: Post build cleanup
3638
run: docker builder prune --force

0 commit comments

Comments
 (0)