Fix container build when cache is disabled (#26932)

th-downstream
Renaud Chaput 1 year ago committed by GitHub
parent 12aa7c5219
commit 3b1301eb7f

@ -95,5 +95,5 @@ jobs:
push: ${{ inputs.push_to_images != '' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: ${{ inputs.cache && 'type=gha' }}
cache-to: ${{ inputs.cache && 'type=gha,mode=max' }}
cache-from: ${{ inputs.cache && 'type=gha' || '' }}
cache-to: ${{ inputs.cache && 'type=gha,mode=max' || '' }}

Loading…
Cancel
Save