Skip to content

Commit 6a63a2f

Browse files
authored
enable build caching (#644)
1 parent 6cb8387 commit 6a63a2f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
platforms: linux/amd64,linux/arm64
4040
push: true
4141
tags: thirdweb/engine:nightly
42+
cache-from: type=gha
43+
cache-to: type=gha,mode=max
4244
build-args: |
4345
ENGINE_VERSION=nightly
4446

.github/workflows/tagBasedImageBuild.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
target: prod
4141
platforms: linux/amd64,linux/arm64
4242
push: true
43+
cache-from: type=gha
44+
cache-to: type=gha,mode=max
4345
tags: |
4446
thirdweb/engine:${{ github.event.release.tag_name }}
4547
${{ env.LATEST_TAG }}

0 commit comments

Comments
 (0)