Compare commits

...

1 Commits

Author SHA1 Message Date
5abd98b9f8 替换源镜像 2023-12-02 13:54:36 +08:00
7 changed files with 10 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -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
]

View File

@ -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

File diff suppressed because one or more lines are too long

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -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'
};
}