Skip to content

Commit

Permalink
remove registry cache (#683)
Browse files Browse the repository at this point in the history
  • Loading branch information
d4mr authored Sep 26, 2024
1 parent 3337fd6 commit dd77028
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,8 @@ jobs:
target: prod
platforms: ${{ matrix.platform }}
push: true
cache-from: |
type=gha,scope=${{ matrix.platform }}
type=registry,ref=thirdweb/engine:buildcache-${{ matrix.platform }}
cache-to: |
type=gha,scope=${{ matrix.platform }},mode=max
type=registry,ref=thirdweb/engine:buildcache-${{ matrix.platform }},mode=max
cache-from: type=gha,scope=${{ matrix.platform }}
cache-to: type=gha,scope=${{ matrix.platform }},mode=max
tags: thirdweb/engine:nightly-${{ matrix.platform == 'linux/amd64' && 'amd64' || 'arm64' }}
build-args: |
ENGINE_VERSION=nightly
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/tagBasedImageBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,8 @@ jobs:
target: prod
platforms: ${{ matrix.platform }}
push: true
cache-from: |
type=gha,scope=${{ matrix.platform }}
type=registry,ref=thirdweb/engine:buildcache-${{ matrix.platform }}
cache-to: |
type=gha,scope=${{ matrix.platform }},mode=max
type=registry,ref=thirdweb/engine:buildcache-${{ matrix.platform }},mode=max
cache-from: type=gha,scope=${{ matrix.platform }}
cache-to: type=gha,scope=${{ matrix.platform }},mode=max
tags: |
thirdweb/engine:${{ github.event.release.tag_name }}-${{ matrix.platform == 'linux/amd64' && 'amd64' || 'arm64' }}
${{ env.LATEST_TAG != '' && format('thirdweb/engine:latest-{0}', matrix.platform == 'linux/amd64' && 'amd64' || 'arm64') || '' }}
Expand Down

0 comments on commit dd77028

Please sign in to comment.