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

Commit

Permalink
use arch-specific build caches
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatsNoMoon committed May 31, 2022
1 parent d411925 commit 0ab8296
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ jobs:
platforms: linux/amd64
push: true
tags: thatsnomoon/highlights-amd64:${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.PATCH }}
cache-from: type=registry,ref=thatsnomoon/highlights:buildcache
cache-to: type=registry,ref=thatsnomoon/highlights:buildcache,mode=max
cache-from: type=registry,ref=thatsnomoon/highlights:buildcache-amd64
cache-to: type=registry,ref=thatsnomoon/highlights:buildcache-amd64,mode=max

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

- name: Create and push multi-arch manifest
run: "\
Expand Down

0 comments on commit 0ab8296

Please sign in to comment.