Skip to content

Commit

Permalink
Scope docker build cache to image name & tag flavor to avoid overwrit…
Browse files Browse the repository at this point in the history
…es (#253)
  • Loading branch information
JakobEdding authored Feb 13, 2025
1 parent 86da166 commit 3e675a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-build-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,5 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
cache-from: type=gha,scope=${{ inputs.image-name }}-${{ inputs.image-tag-flavor }}
cache-to: type=gha,mode=max,scope=${{ inputs.image-name }}-${{ inputs.image-tag-flavor }}

0 comments on commit 3e675a5

Please sign in to comment.