Skip to content

Commit dd77028

Browse files
authored
remove registry cache (#683)
1 parent 3337fd6 commit dd77028

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,8 @@ jobs:
3232
target: prod
3333
platforms: ${{ matrix.platform }}
3434
push: true
35-
cache-from: |
36-
type=gha,scope=${{ matrix.platform }}
37-
type=registry,ref=thirdweb/engine:buildcache-${{ matrix.platform }}
38-
cache-to: |
39-
type=gha,scope=${{ matrix.platform }},mode=max
40-
type=registry,ref=thirdweb/engine:buildcache-${{ matrix.platform }},mode=max
35+
cache-from: type=gha,scope=${{ matrix.platform }}
36+
cache-to: type=gha,scope=${{ matrix.platform }},mode=max
4137
tags: thirdweb/engine:nightly-${{ matrix.platform == 'linux/amd64' && 'amd64' || 'arm64' }}
4238
build-args: |
4339
ENGINE_VERSION=nightly

.github/workflows/tagBasedImageBuild.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,8 @@ jobs:
3535
target: prod
3636
platforms: ${{ matrix.platform }}
3737
push: true
38-
cache-from: |
39-
type=gha,scope=${{ matrix.platform }}
40-
type=registry,ref=thirdweb/engine:buildcache-${{ matrix.platform }}
41-
cache-to: |
42-
type=gha,scope=${{ matrix.platform }},mode=max
43-
type=registry,ref=thirdweb/engine:buildcache-${{ matrix.platform }},mode=max
38+
cache-from: type=gha,scope=${{ matrix.platform }}
39+
cache-to: type=gha,scope=${{ matrix.platform }},mode=max
4440
tags: |
4541
thirdweb/engine:${{ github.event.release.tag_name }}-${{ matrix.platform == 'linux/amd64' && 'amd64' || 'arm64' }}
4642
${{ env.LATEST_TAG != '' && format('thirdweb/engine:latest-{0}', matrix.platform == 'linux/amd64' && 'amd64' || 'arm64') || '' }}

0 commit comments

Comments
 (0)