Skip to content

Commit

Permalink
Fix container build when cache is disabled (mastodon#26932)
Browse files Browse the repository at this point in the history
  • Loading branch information
renchap committed Sep 15, 2023
1 parent 9693c27 commit 5d93e98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' || '' }}

0 comments on commit 5d93e98

Please sign in to comment.