4
0
mirror of https://github.com/docker/setup-qemu-action.git synced 2026-03-02 12:52:06 +08:00

rename: local-cache-path -> cache-image-path

This commit is contained in:
문성하
2025-02-02 22:13:36 +09:00
parent 28a18910d7
commit 02897d02f5
7 changed files with 16 additions and 17 deletions

View File

@@ -23,7 +23,7 @@ describe('getInputs', () => {
image: 'docker.io/tonistiigi/binfmt:latest',
platforms: 'all',
cacheImage: true,
localCachePath: ''
cacheImagePath: ''
} as context.Inputs
],
[
@@ -37,7 +37,7 @@ describe('getInputs', () => {
image: 'docker/binfmt:latest',
platforms: 'arm64,riscv64,arm',
cacheImage: false,
localCachePath: ''
cacheImagePath: ''
} as context.Inputs
],
[
@@ -50,7 +50,7 @@ describe('getInputs', () => {
image: 'docker.io/tonistiigi/binfmt:latest',
platforms: 'arm64,riscv64,arm',
cacheImage: true,
localCachePath: ''
cacheImagePath: ''
} as context.Inputs
],
[
@@ -58,13 +58,13 @@ describe('getInputs', () => {
new Map<string, string>([
['platforms', 'arm64'],
['cache-image', 'false'],
['local-cache-path', '/tmp/cache'],
['cache-image-path', '/tmp/cache'],
]),
{
image: 'docker.io/tonistiigi/binfmt:latest',
platforms: 'arm64',
cacheImage: false,
localCachePath: '/tmp/cache'
cacheImagePath: '/tmp/cache'
} as context.Inputs
]
])(