Skip to content

Commit 7630f2c

Browse files
authored
Merge pull request #307 from vvoland/distros-optional
gha/release: Improve workflow input descriptions and ordering
2 parents 3e82bb2 + d02efe7 commit 7630f2c

File tree

8 files changed

+65
-65
lines changed

8 files changed

+65
-65
lines changed

.github/workflows/release-buildx.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,35 @@ on:
88
workflow_dispatch:
99
inputs:
1010
ref:
11-
description: 'Ref (e.g. v0.10.0)'
11+
description: 'Tag/ref to build (e.g. v0.10.0)'
1212
required: true
1313
type: string
14-
repo:
15-
description: 'Override default repo'
16-
required: false
17-
type: string
1814
release:
19-
description: 'Release type'
15+
description: '(optional) Release type to create in https://github.com/docker/packaging/releases'
2016
required: false
21-
default: 'pushonly'
17+
default: 'draft'
2218
type: choice
2319
options:
2420
- pushonly
2521
- draft
2622
- prerelease
2723
- release
2824
distros:
29-
description: 'Distros to build (comma-separated, e.g. "debian12,ubuntu2204")'
25+
description: '(optional, empty = all supported) Distros to build (comma-separated, e.g. "debian12,ubuntu2204")'
3026
required: false
3127
type: string
3228
default: ''
3329
revision:
3430
description: |
35-
Revision of the package to build. Only in case we ever would have to re-build an already published release with a packaging-only change.
31+
(optional) Revision of the package to build. Only in case we ever would have to re-build an already published release with a packaging-only change.
3632
Default for a tagged/upstream release is 1.
3733
required: false
3834
type: string
3935
default: ''
36+
repo:
37+
description: '(optional) Override default repo (if want to build from a different Github repo/fork)'
38+
required: false
39+
type: string
4040

4141
jobs:
4242
release:

.github/workflows/release-cagent.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,21 @@ on:
88
workflow_dispatch:
99
inputs:
1010
ref:
11-
description: 'Ref (e.g. v0.1.30)'
11+
description: 'Tag/ref to build (e.g. v0.1.30)'
1212
required: true
1313
type: string
14-
repo:
15-
description: 'Override default repo'
16-
required: false
17-
type: string
1814
release:
19-
description: 'Release type'
15+
description: '(optional) Release type to create in https://github.com/docker/packaging/releases'
2016
required: false
21-
default: 'pushonly'
17+
default: 'draft'
2218
type: choice
2319
options:
2420
- pushonly
2521
- draft
2622
- prerelease
2723
- release
2824
distros:
29-
description: 'Distros to build (comma-separated, e.g. "debian12,ubuntu22.04")'
25+
description: '(optional, empty = all supported) Distros to build (comma-separated, e.g. "debian12,ubuntu2204")'
3026
required: false
3127
type: string
3228
default: ''
@@ -37,6 +33,10 @@ on:
3733
required: false
3834
type: string
3935
default: ''
36+
repo:
37+
description: '(optional) Override default repo (if want to build from a different Github repo/fork)'
38+
required: false
39+
type: string
4040

4141
jobs:
4242
release:

.github/workflows/release-compose.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,21 @@ on:
88
workflow_dispatch:
99
inputs:
1010
ref:
11-
description: 'Ref (e.g. v2.15.1)'
11+
description: 'Tag/ref to build (e.g. v2.15.1)'
1212
required: true
1313
type: string
14-
repo:
15-
description: 'Override default repo'
16-
required: false
17-
type: string
1814
release:
19-
description: 'Release type'
15+
description: '(optional) Release type to create in https://github.com/docker/packaging/releases'
2016
required: false
21-
default: 'pushonly'
17+
default: 'draft'
2218
type: choice
2319
options:
2420
- pushonly
2521
- draft
2622
- prerelease
2723
- release
2824
distros:
29-
description: 'Distros to build (comma-separated, e.g. "debian12,ubuntu22.04")'
25+
description: '(optional, empty = all supported) Distros to build (comma-separated, e.g. "debian12,ubuntu2204")'
3026
required: false
3127
type: string
3228
default: ''
@@ -37,6 +33,10 @@ on:
3733
required: false
3834
type: string
3935
default: ''
36+
repo:
37+
description: '(optional) Override default repo (if want to build from a different Github repo/fork)'
38+
required: false
39+
type: string
4040

4141
jobs:
4242
release:

.github/workflows/release-containerd.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,21 @@ on:
88
workflow_dispatch:
99
inputs:
1010
ref:
11-
description: 'Ref (e.g. v1.6.15)'
11+
description: 'Tag/ref to build (e.g. v1.6.15)'
1212
required: true
1313
type: string
14-
repo:
15-
description: 'Override default repo'
16-
required: false
17-
type: string
1814
release:
19-
description: 'Release type'
15+
description: '(optional) Release type to create in https://github.com/docker/packaging/releases'
2016
required: false
21-
default: 'pushonly'
17+
default: 'draft'
2218
type: choice
2319
options:
2420
- pushonly
2521
- draft
2622
- prerelease
2723
- release
2824
distros:
29-
description: 'Distros to build (comma-separated, e.g. "debian12,ubuntu22.04")'
25+
description: '(optional, empty = all supported) Distros to build (comma-separated, e.g. "debian12,ubuntu2204")'
3026
required: false
3127
type: string
3228
default: ''
@@ -37,6 +33,10 @@ on:
3733
required: false
3834
type: string
3935
default: ''
36+
repo:
37+
description: '(optional) Override default repo (if want to build from a different Github repo/fork)'
38+
required: false
39+
type: string
4040

4141
jobs:
4242
release:

.github/workflows/release-credential-helpers.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,21 @@ on:
88
workflow_dispatch:
99
inputs:
1010
ref:
11-
description: 'Ref (e.g. v1.7.0)'
11+
description: 'Tag/ref to build (e.g. v1.7.0)'
1212
required: true
1313
type: string
14-
repo:
15-
description: 'Override default repo'
16-
required: false
17-
type: string
1814
release:
19-
description: 'Release type'
15+
description: '(optional) Release type to create in https://github.com/docker/packaging/releases'
2016
required: false
21-
default: 'pushonly'
17+
default: 'draft'
2218
type: choice
2319
options:
2420
- pushonly
2521
- draft
2622
- prerelease
2723
- release
2824
distros:
29-
description: 'Distros to build (comma-separated, e.g. "debian12,ubuntu22.04")'
25+
description: '(optional, empty = all supported) Distros to build (comma-separated, e.g. "debian12,ubuntu2204")'
3026
required: false
3127
type: string
3228
default: ''
@@ -37,6 +33,10 @@ on:
3733
required: false
3834
type: string
3935
default: ''
36+
repo:
37+
description: '(optional) Override default repo (if want to build from a different Github repo/fork)'
38+
required: false
39+
type: string
4040

4141
jobs:
4242
release:

.github/workflows/release-docker-cli.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,21 @@ on:
88
workflow_dispatch:
99
inputs:
1010
ref:
11-
description: 'Ref (e.g. v23.0.0)'
11+
description: 'Tag/ref to build (e.g. v23.0.0)'
1212
required: true
1313
type: string
14-
repo:
15-
description: 'Override default repo'
16-
required: false
17-
type: string
1814
release:
19-
description: 'Release type'
15+
description: '(optional) Release type to create in https://github.com/docker/packaging/releases'
2016
required: false
21-
default: 'pushonly'
17+
default: 'draft'
2218
type: choice
2319
options:
2420
- pushonly
2521
- draft
2622
- prerelease
2723
- release
2824
distros:
29-
description: 'Distros to build (comma-separated, e.g. "debian12,ubuntu22.04")'
25+
description: '(optional, empty = all supported) Distros to build (comma-separated, e.g. "debian12,ubuntu2204")'
3026
required: false
3127
type: string
3228
default: ''
@@ -37,6 +33,10 @@ on:
3733
required: false
3834
type: string
3935
default: ''
36+
repo:
37+
description: '(optional) Override default repo (if want to build from a different Github repo/fork)'
38+
required: false
39+
type: string
4040

4141
jobs:
4242
release:

.github/workflows/release-docker-engine.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,21 @@ on:
88
workflow_dispatch:
99
inputs:
1010
ref:
11-
description: 'Ref (e.g. v23.0.0)'
11+
description: 'Tag/ref to build (e.g. v23.0.0)'
1212
required: true
1313
type: string
14-
repo:
15-
description: 'Override default repo'
16-
required: false
17-
type: string
1814
release:
19-
description: 'Release type'
15+
description: '(optional) Release type to create in https://github.com/docker/packaging/releases'
2016
required: false
21-
default: 'pushonly'
17+
default: 'draft'
2218
type: choice
2319
options:
2420
- pushonly
2521
- draft
2622
- prerelease
2723
- release
2824
distros:
29-
description: 'Distros to build (comma-separated, e.g. "debian12,ubuntu22.04")'
25+
description: '(optional, empty = all supported) Distros to build (comma-separated, e.g. "debian12,ubuntu2204")'
3026
required: false
3127
type: string
3228
default: ''
@@ -37,6 +33,10 @@ on:
3733
required: false
3834
type: string
3935
default: ''
36+
repo:
37+
description: '(optional) Override default repo (if want to build from a different Github repo/fork)'
38+
required: false
39+
type: string
4040

4141
jobs:
4242
release:

.github/workflows/release-model.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,21 @@ on:
88
workflow_dispatch:
99
inputs:
1010
ref:
11-
description: 'Ref (e.g. v0.1.30)'
11+
description: 'Tag/ref to build (e.g. v0.1.30)'
1212
required: true
1313
type: string
14-
repo:
15-
description: 'Override default repo'
16-
required: false
17-
type: string
1814
release:
19-
description: 'Release type'
15+
description: '(optional) Release type to create in https://github.com/docker/packaging/releases'
2016
required: false
21-
default: 'pushonly'
17+
default: 'draft'
2218
type: choice
2319
options:
2420
- pushonly
2521
- draft
2622
- prerelease
2723
- release
2824
distros:
29-
description: 'Distros to build (comma-separated, e.g. "debian12,ubuntu22.04")'
25+
description: '(optional, empty = all supported) Distros to build (comma-separated, e.g. "debian12,ubuntu2204")'
3026
required: false
3127
type: string
3228
default: ''
@@ -37,6 +33,10 @@ on:
3733
required: false
3834
type: string
3935
default: ''
36+
repo:
37+
description: '(optional) Override default repo (if want to build from a different Github repo/fork)'
38+
required: false
39+
type: string
4040

4141
jobs:
4242
release:

0 commit comments

Comments
 (0)