Skip to content

Commit cb4f01e

Browse files
committed
fix: change caching method
1 parent f3e7c2d commit cb4f01e

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/build-latest.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ jobs:
8181
context: ./dist/base/${{ env.IMAGE_TEMPLATE }}
8282
load: true
8383
tags: ${{ steps.meta.outputs.tags }}
84-
cache-from: type=registry,ref=${{ env.IMAGE_TAG }}
85-
cache-to: type=inline
84+
cache-from: type=gha
85+
cache-to: type=gha,mode=max
8686
labels: ${{ steps.meta.outputs.labels }}
8787

8888
- name: 🧪 Test Docker image with "latest" tag
@@ -95,7 +95,7 @@ jobs:
9595
platforms: linux/amd64,linux/arm64
9696
push: ${{ github.event_name != 'pull_request' }}
9797
tags: ${{ steps.meta.outputs.tags }}
98-
cache-from: type=registry,ref=${{ env.IMAGE_TAG }}
99-
cache-to: type=inline
98+
cache-from: type=gha
99+
cache-to: type=gha,mode=max
100100

101101
...

renovate.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
44
"config:base"
5-
]
5+
],
6+
"automerge": true,
7+
"platformAutomerge": true
68
}

0 commit comments

Comments
 (0)