Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
5abd98b9f8 |
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -22,8 +22,8 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
image:
|
image:
|
||||||
- tonistiigi/binfmt:latest
|
- gitea.icodef.com/codfrm/binfmt:latest
|
||||||
- tonistiigi/binfmt:master
|
- gitea.icodef.com/codfrm/binfmt:master
|
||||||
platforms:
|
platforms:
|
||||||
- all
|
- all
|
||||||
- arm64,riscv64,arm
|
- arm64,riscv64,arm
|
||||||
|
@ -43,7 +43,7 @@ The following inputs can be used as `step.with` keys:
|
|||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|-------------|--------|-------------------------------------------------------------------------------|--------------------------------------------------|
|
|-------------|--------|-------------------------------------------------------------------------------|--------------------------------------------------|
|
||||||
| `image` | String | [`tonistiigi/binfmt:latest`](https://hub.docker.com/r/tonistiigi/binfmt/tags) | QEMU static binaries Docker image |
|
| `image` | String | [`gitea.icodef.com/codfrm/binfmt:latest`](https://hub.docker.com/r/gitea.icodef.com/codfrm/binfmt/tags) | QEMU static binaries Docker image |
|
||||||
| `platforms` | String | `all` | Platforms to install (e.g., `arm64,riscv64,arm`) |
|
| `platforms` | String | `all` | Platforms to install (e.g., `arm64,riscv64,arm`) |
|
||||||
|
|
||||||
### outputs
|
### outputs
|
||||||
|
@ -18,7 +18,7 @@ describe('getInputs', () => {
|
|||||||
0,
|
0,
|
||||||
new Map<string, string>([]),
|
new Map<string, string>([]),
|
||||||
{
|
{
|
||||||
image: 'tonistiigi/binfmt:latest',
|
image: 'gitea.icodef.com/codfrm/binfmt:latest',
|
||||||
platforms: 'all',
|
platforms: 'all',
|
||||||
} as context.Inputs
|
} as context.Inputs
|
||||||
],
|
],
|
||||||
@ -39,7 +39,7 @@ describe('getInputs', () => {
|
|||||||
['platforms', 'arm64, riscv64, arm '],
|
['platforms', 'arm64, riscv64, arm '],
|
||||||
]),
|
]),
|
||||||
{
|
{
|
||||||
image: 'tonistiigi/binfmt:latest',
|
image: 'gitea.icodef.com/codfrm/binfmt:latest',
|
||||||
platforms: 'arm64,riscv64,arm',
|
platforms: 'arm64,riscv64,arm',
|
||||||
} as context.Inputs
|
} as context.Inputs
|
||||||
]
|
]
|
||||||
|
@ -8,8 +8,8 @@ branding:
|
|||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
image:
|
image:
|
||||||
description: 'QEMU static binaries Docker image (e.g. tonistiigi/binfmt:latest)'
|
description: 'QEMU static binaries Docker image (e.g. gitea.icodef.com/codfrm/binfmt:latest)'
|
||||||
default: 'tonistiigi/binfmt:latest'
|
default: 'gitea.icodef.com/codfrm/binfmt:latest'
|
||||||
required: false
|
required: false
|
||||||
platforms:
|
platforms:
|
||||||
description: 'Platforms to install (e.g. arm64,riscv64,arm)'
|
description: 'Platforms to install (e.g. arm64,riscv64,arm)'
|
||||||
|
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
@ -8,7 +8,7 @@ export interface Inputs {
|
|||||||
|
|
||||||
export function getInputs(): Inputs {
|
export function getInputs(): Inputs {
|
||||||
return {
|
return {
|
||||||
image: core.getInput('image') || 'tonistiigi/binfmt:latest',
|
image: core.getInput('image') || 'gitea.icodef.com/codfrm/binfmt:latest',
|
||||||
platforms: Util.getInputList('platforms').join(',') || 'all'
|
platforms: Util.getInputList('platforms').join(',') || 'all'
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user