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:
@@ -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
|
||||
]
|
||||
])(
|
||||
|
||||
Reference in New Issue
Block a user