1
0
Fork 0
forked from fedi/mastodon

Fix container build when cache is disabled (#26932)

This commit is contained in:
Renaud Chaput 2023-09-15 10:44:01 +02:00 committed by GitHub
parent 9693c271f1
commit 5d93e98da4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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' || '' }}