chore: better docker build

This commit is contained in:
2025-11-03 14:15:52 -03:00
parent 966c16e2c2
commit 151cb5088b
3 changed files with 53 additions and 25 deletions

View File

@@ -80,12 +80,8 @@ jobs:
tags: |
${{ env.IMAGE_LATEST }}
${{ env.IMAGE_SHA }}
cache-from: |
type=registry,ref=ghcr.io/hideyoshisolutions/frontend-hideyoshi.com:cache-${{ github.ref_name }}-amd64
type=registry,ref=ghcr.io/hideyoshisolutions/frontend-hideyoshi.com:cache-${{ github.ref_name }}-arm64
cache-to: |
type=registry,ref=ghcr.io/hideyoshisolutions/frontend-hideyoshi.com:cache-${{ github.ref_name }}-amd64,mode=max,platform=linux/amd64
type=registry,ref=ghcr.io/hideyoshisolutions/frontend-hideyoshi.com:cache-${{ github.ref_name }}-arm64,mode=max,platform=linux/arm64
cache-from: type=gha
cache-to: type=gha,mode=max
deploy:
needs: [docker]