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