Skip to content

Commit 7d5fbcd

Browse files
readme update
1 parent e169f94 commit 7d5fbcd

1 file changed

Lines changed: 27 additions & 20 deletions

File tree

README.md

Lines changed: 27 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ This workflow extracts common config values, including the devcontainer image an
142142
#### Outputs
143143

144144
- `tag_format`: The tag format to use for releases.
145-
- `devcontainer_image`: The pinned image reference for the devcontainer image.
145+
- `devcontainer_image`: The devcontainer image name as defined in `.devcontainer/devcontainer.json`.
146146
- `devcontainer_version`: The version of the devcontainer image.
147-
- `pinned_image`: The pinned image reference for the devcontainer image.
147+
- `pinned_image`: The fully-qualified digest-pinned image reference.
148148
- `resolved_digest`: The resolved digest for the devcontainer image.
149149

150150
#### Example
@@ -240,7 +240,7 @@ jobs:
240240
uses: NHSDigital/eps-common-workflows/.github/workflows/get-repo-config.yml@f5c8313a10855d0cc911db6a9cd666494c00045a
241241
242242
quality_checks:
243-
uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks.yml@f5c8313a10855d0cc911db6a9cd666494c00045a
243+
uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks-devcontainer.yml@f5c8313a10855d0cc911db6a9cd666494c00045a
244244
needs: [get_config_values]
245245
with:
246246
pinned_image: ${{ needs.get_config_values.outputs.pinned_image }}
@@ -256,16 +256,21 @@ This workflow uses the semantic-release npm package to generate a new version ta
256256
#### Inputs
257257

258258
- `dry_run`: Whether to run in dry_run mode (do not create tags) or not
259-
- `tagFormat`: Default `v\\${version}`. A template for the version tag.
259+
- `tag_format`: Default `v\\${version}`. A template for the version tag.
260260
- `branch_name`: The branch name to base the release on
261-
- `publish_package`: Default false. If true, semantic-release will publish npm package.
261+
- `publish_packages`: comma separated list of package folders to publish to an npm registry
262262
- `asdfVersion`: Override the version of asdf to install.
263263
- `main_branch`: The branch to use for publishing. Defaults to main
264+
- `extra_artifact_name`: optional param to include an extra artifact in the release
265+
- `extra_artifact_id`: optional param of the extra artifact id to include in the release
266+
- `extra_artifact_run_id`: optional param of the run id to download the extra artifact id to include in the release
267+
- `extra_artifact_repository`: optional param to indicate which repo the run to download the artifact was from
264268

265269
#### Outputs
266270

267271
- `version_tag`: The version tag created by semantic-release.
268272
- `change_set_version`: A timestamped string that can be used for creating changesets.
273+
- `next_version_tag`: The next version tag that will be created.
269274

270275
#### Example
271276

@@ -280,12 +285,12 @@ on:
280285
jobs:
281286
tag_release:
282287
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release.yml@f5c8313a10855d0cc911db6a9cd666494c00045a
283-
with:
284-
tagFormat: "v\\${version}-beta"
285-
dry_run: true
286-
asdfVersion: 0.18.0
287-
branch_name: main
288-
publish_package: false
288+
with:
289+
tag_format: "v\\${version}-beta"
290+
dry_run: true
291+
asdfVersion: 0.18.0
292+
branch_name: main
293+
publish_packages: ""
289294
```
290295

291296
## Tag Release - Devcontainer Version
@@ -297,18 +302,19 @@ This workflow uses the semantic-release npm package to generate a new version ta
297302
- `branch_name`: The branch name to base the release on
298303
- `pinned_image`: A pinned, verified image version upon which to run the container.
299304
- `publish_packages`: comma separated list of package folders to publish to an npm registry
300-
- `tagFormat`: Default `v\\${version}`. A template for the version tag.
305+
- `tag_format`: Default `v\\${version}`. A template for the version tag.
301306
- `main_branch`: The branch to use for publishing. Defaults to main
302307
- `extra_artifact_name`: optional param to include an extra artifact in the release
303308
- `extra_artifact_id`: optional param of the extra artifact id to include in the release
304309
- `extra_artifact_run_id`: optional param of the run id to download the extra artifact id to include in the release
305-
- `extra_artifact_repository` optional param to indicate which repo the run to download the artifact was from
306-
- `verify_published_from_main_image` indicates if we should verify the image was published from main branch in eps-devcontainers
310+
- `extra_artifact_repository`: optional param to indicate which repo the run to download the artifact was from
311+
- `verify_published_from_main_image`: indicates if we should verify the image was published from main branch in eps-devcontainers
307312

308313
#### Outputs
309314

310315
- `version_tag`: The version tag created by semantic-release.
311316
- `change_set_version`: A timestamped string that can be used for creating changesets.
317+
- `next_version_tag`: The next version tag that will be created.
312318

313319
#### Example
314320

@@ -327,12 +333,13 @@ jobs:
327333
tag_release:
328334
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release-devcontainer.yml@f5c8313a10855d0cc911db6a9cd666494c00045a
329335
needs: [get_config_values]
330-
with:
331-
tagFormat: "v\\${version}-beta"
332-
dry_run: true
333-
pinned_image: "${{ needs.get_config_values.outputs.pinned_image }}"
334-
branch_name: main
335-
publish_package: false
336+
with:
337+
tag_format: "v\\${version}-beta"
338+
dry_run: true
339+
pinned_image: "${{ needs.get_config_values.outputs.pinned_image }}"
340+
branch_name: main
341+
publish_packages: ""
342+
verify_published_from_main_image: true
336343
```
337344

338345

0 commit comments

Comments
 (0)