Skip to content

Commit c18e6d4

Browse files
committed
fix: update docker build step to load cache and specify platforms
1 parent de912e2 commit c18e6d4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,11 @@ jobs:
105105
context: .
106106
builder: ${{ steps.buildx.outputs.name }}
107107
file: Dockerfile
108-
platforms: linux/amd64,linux/arm64
108+
load: true
109109
push: true
110+
platforms: linux/amd64,linux/arm64
111+
cache-from: type=gha
112+
cache-to: type=gha,mode=max
110113
tags: |
111114
ghcr.io/metacubex/metacubexd:latest
112115
ghcr.io/metacubex/metacubexd:${{ needs.release-please.outputs.tag_name }}
113-
cache-from: type=gha
114-
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)