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
|
||||
matrix:
|
||||
image:
|
||||
- tonistiigi/binfmt:latest
|
||||
- tonistiigi/binfmt:master
|
||||
- gitea.icodef.com/codfrm/binfmt:latest
|
||||
- gitea.icodef.com/codfrm/binfmt:master
|
||||
platforms:
|
||||
- all
|
||||
- arm64,riscv64,arm
|
||||
|
@ -43,7 +43,7 @@ The following inputs can be used as `step.with` keys:
|
||||
|
||||
| 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`) |
|
||||
|
||||
### outputs
|
||||
|
@ -18,7 +18,7 @@ describe('getInputs', () => {
|
||||
0,
|
||||
new Map<string, string>([]),
|
||||
{
|
||||
image: 'tonistiigi/binfmt:latest',
|
||||
image: 'gitea.icodef.com/codfrm/binfmt:latest',
|
||||
platforms: 'all',
|
||||
} as context.Inputs
|
||||
],
|
||||
@ -39,7 +39,7 @@ describe('getInputs', () => {
|
||||
['platforms', 'arm64, riscv64, arm '],
|
||||
]),
|
||||
{
|
||||
image: 'tonistiigi/binfmt:latest',
|
||||
image: 'gitea.icodef.com/codfrm/binfmt:latest',
|
||||
platforms: 'arm64,riscv64,arm',
|
||||
} as context.Inputs
|
||||
]
|
||||
|
@ -8,8 +8,8 @@ branding:
|
||||
|
||||
inputs:
|
||||
image:
|
||||
description: 'QEMU static binaries Docker image (e.g. tonistiigi/binfmt:latest)'
|
||||
default: 'tonistiigi/binfmt:latest'
|
||||
description: 'QEMU static binaries Docker image (e.g. gitea.icodef.com/codfrm/binfmt:latest)'
|
||||
default: 'gitea.icodef.com/codfrm/binfmt:latest'
|
||||
required: false
|
||||
platforms:
|
||||
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 {
|
||||
return {
|
||||
image: core.getInput('image') || 'tonistiigi/binfmt:latest',
|
||||
image: core.getInput('image') || 'gitea.icodef.com/codfrm/binfmt:latest',
|
||||
platforms: Util.getInputList('platforms').join(',') || 'all'
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user