Skip to content
This repository was archived by the owner on Mar 24, 2024. It is now read-only.

Commit 0ab8296

Browse files
committed
use arch-specific build caches
1 parent d411925 commit 0ab8296

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ jobs:
120120
platforms: linux/amd64
121121
push: true
122122
tags: thatsnomoon/highlights-amd64:${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.PATCH }}
123-
cache-from: type=registry,ref=thatsnomoon/highlights:buildcache
124-
cache-to: type=registry,ref=thatsnomoon/highlights:buildcache,mode=max
123+
cache-from: type=registry,ref=thatsnomoon/highlights:buildcache-amd64
124+
cache-to: type=registry,ref=thatsnomoon/highlights:buildcache-amd64,mode=max
125125

126126
- name: Build and push arm64
127127
uses: docker/build-push-action@v2
@@ -135,8 +135,8 @@ jobs:
135135
MUSLTARGET=aarch64-linux-musl
136136
push: true
137137
tags: thatsnomoon/highlights-arm64:${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.PATCH }}
138-
cache-from: type=registry,ref=thatsnomoon/highlights:buildcache
139-
cache-to: type=registry,ref=thatsnomoon/highlights:buildcache,mode=max
138+
cache-from: type=registry,ref=thatsnomoon/highlights:buildcache-arm64
139+
cache-to: type=registry,ref=thatsnomoon/highlights:buildcache-arm64,mode=max
140140

141141
- name: Create and push multi-arch manifest
142142
run: "\

0 commit comments

Comments
 (0)