Skip to content

Commit

Permalink
revert max cache
Browse files Browse the repository at this point in the history
  • Loading branch information
tico24 committed Jul 12, 2023
1 parent 45b3c8a commit c62546d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ jobs:
with:
version: v0.10.4

# - name: Cache Docker layers
# uses: actions/cache@v3
# id: cache
# with:
# path: /tmp/.buildx-cache
# key: ${{ runner.os }}-${{ matrix.platform }}-${{ matrix.target }}-buildx-${{ github.sha }}
# restore-keys: |
# ${{ runner.os }}-${{ matrix.platform }}-${{ matrix.target }}-buildx-
- name: Cache Docker layers
uses: actions/cache@v3
id: cache
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-${{ matrix.platform }}-${{ matrix.target }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-${{ matrix.platform }}-${{ matrix.target }}-buildx-
- name: Docker Login
uses: docker/login-action@v2
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
docker buildx build \
--cache-from "type=local,src=/tmp/.buildx-cache" \
--cache-to "type=local,mode=max,dest=/tmp/.buildx-cache" \
--cache-to "type=local,dest=/tmp/.buildx-cache" \
--output "type=image,push=true" \
--platform="${PLATFORM}" \
--target $TARGET \
Expand Down

0 comments on commit c62546d

Please sign in to comment.