File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -51,15 +51,11 @@ jobs:
51
51
- name : Set up Docker Buildx
52
52
uses : docker/setup-buildx-action@v1
53
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
54
- name : Setup cache
59
55
uses : actions/cache@v2
60
56
with :
61
57
path : .buildx-cache-${{ matrix.policy }}_${{ matrix.platform }}/*
62
- key : buildx-cache-${{ matrix.policy }}-${{ matrix.platform }}-${{ steps.timestamp.outputs.timestamp }}
58
+ key : buildx-cache-${{ matrix.policy }}-${{ matrix.platform }}-${{ hashFiles('docker/**') }}
63
59
restore-keys : buildx-cache-${{ matrix.policy }}-${{ matrix.platform }}-
64
60
65
61
- name : Build
You can’t perform that action at this time.
0 commit comments