We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54e0e9d commit 80f9c6cCopy full SHA for 80f9c6c
.github/workflows/build.yml
@@ -51,15 +51,11 @@ jobs:
51
- name: Set up Docker Buildx
52
uses: docker/setup-buildx-action@v1
53
54
- - name: Create cache timestamp
55
- id: timestamp
56
- run: echo "::set-output name=timestamp::$(python3 -c 'from datetime import datetime,timezone; print(datetime.now(timezone.utc).isoformat())')"
57
-
58
- name: Setup cache
59
uses: actions/cache@v2
60
with:
61
path: .buildx-cache-${{ matrix.policy }}_${{ matrix.platform }}/*
62
- key: buildx-cache-${{ matrix.policy }}-${{ matrix.platform }}-${{ steps.timestamp.outputs.timestamp }}
+ key: buildx-cache-${{ matrix.policy }}-${{ matrix.platform }}-${{ hashFiles('docker/**') }}
63
restore-keys: buildx-cache-${{ matrix.policy }}-${{ matrix.platform }}-
64
65
- name: Build
0 commit comments