Look for docker layers in multiple cache locations

This commit is contained in:
tcely 2025-03-26 16:45:15 -04:00 committed by GitHub
parent 807d825904
commit 317cc63a96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -177,8 +177,13 @@ jobs:
platforms: linux/amd64,linux/arm64
push: ${{ 'success' == needs.test.result && 'meeb' == github.repository_owner && 'pull_request' != github.event_name && 'true' || 'false' }}
tags: ghcr.io/${{ needs.info.outputs.string-lowercase }}/${{ env.IMAGE_NAME }}:latest
cache-from: type=registry,ref=ghcr.io/${{ needs.info.outputs.string-lowercase }}/${{ env.IMAGE_NAME }}:latest
cache-to: type=inline
cache-from: |
type=registry,ref=ghcr.io/${{ needs.info.outputs.string-lowercase }}/${{ env.IMAGE_NAME }}:latest
type=registry,ref=ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:latest
type=gha
cache-to: |
type=gha,mode=max
${{ 'meeb' == github.repository_owner && 'pull_request' != github.event_name && 'type=inline' || '' }}
build-args: |
IMAGE_NAME=${{ env.IMAGE_NAME }}
FFMPEG_DATE=${{ env.FFMPEG_DATE }}