|
@@ -4,6 +4,9 @@ on:
|
|
|
platforms:
|
|
|
required: true
|
|
|
type: string
|
|
|
+ cache:
|
|
|
+ type: boolean
|
|
|
+ default: true
|
|
|
use_native_arm64_builder:
|
|
|
type: boolean
|
|
|
push_to_images:
|
|
@@ -85,5 +88,5 @@ jobs:
|
|
|
push: ${{ inputs.push_to_images != '' }}
|
|
|
tags: ${{ steps.meta.outputs.tags }}
|
|
|
labels: ${{ steps.meta.outputs.labels }}
|
|
|
- cache-from: type=gha
|
|
|
- cache-to: type=gha,mode=max
|
|
|
+ cache-from: ${{ inputs.cache && 'type=gha' || '' }}
|
|
|
+ cache-to: ${{ inputs.cache && 'type=gha,mode=max' || '' }}
|