Browse Source

Fix container build when cache is disabled (#26932)

lets-bump-hometown-to-mastodon-4.2
Renaud Chaput 3 years ago committed by GitHub
parent
commit
5d93e98da4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .github/workflows/build-container-image.yml

4
.github/workflows/build-container-image.yml

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