1 parent f3168fb commit fda2e61Copy full SHA for fda2e61
1 file changed
.github/workflows/ci.yml
@@ -142,5 +142,7 @@ jobs:
142
tags: ${{ steps.meta.outputs.tags }}
143
labels: ${{ steps.meta.outputs.labels }}
144
build-args: |
145
- GIT_TAG=${{ github.ref_name }}
146
- GIT_COMMIT=${{ github.sha }}
+ GIT_TAG=${{ github.event_name == 'pull_request' && 'pr' || github.ref_name }}
+ GIT_COMMIT=${{ github.event_name == 'pull_request' && 'dev' || github.sha }}
147
+ cache-from: type=gha,scope=buildx
148
+ cache-to: type=gha,mode=max,scope=buildx
0 commit comments