We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7517d7 commit 6712d72Copy full SHA for 6712d72
.github/workflows/docker.yml
@@ -70,8 +70,10 @@ jobs:
70
file: docker/kty.dockerfile
71
platforms: ${{ inputs.os }}/${{ inputs.arch }}
72
73
- cache-from: type=registry,ref=${{ env.CACHE }}
74
- cache-to: type=registry,ref=${{ env.CACHE }},mode=max
+ cache-from: |
+ ${{ inputs.arch == "arm64" && "type=registry,ref=${{ env.CACHE }}" || "type=gha" }}
75
+ cache-to: |
76
+ ${{ inputs.arch == "arm64" && "type=registry,ref=${{ env.CACHE }},mode=max" || "type=gha" }}
77
78
labels: ${{ steps.meta.outputs.labels }}
79
annotations: ${{ steps.meta.outputs.annotations }}
0 commit comments