Skip to content

Commit 6bf3826

Browse files
readme update
1 parent de15bf6 commit 6bf3826

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -123,16 +123,11 @@ To use the image in GitHub Actions, you should first verify the attestation of t
123123
For CI and release pipelines, you should set verify_published_from_main_image to ensure that only images published from main are used.
124124
```
125125
jobs:
126-
verify_attestation:
127-
uses: NHSDigital/eps-common-workflows/.github/workflows/verify-attestation.yml@<latest published version>
128-
with:
129-
runtime_docker_image: "${{ inputs.runtime_docker_image }}"
130-
verify_published_from_main_image: false
131126
my_job_name:
132127
runs-on: ubuntu-22.04
133-
needs: verify_attestation
128+
needs: get_config_values
134129
container:
135-
image: ${{ needs.verify_attestation.outputs.pinned_image }}
130+
image: ${{ needs.get_config_values.outputs.pinned_image }}
136131
options: --user 1001:1001 --group-add 128
137132
defaults:
138133
run:
@@ -144,7 +139,6 @@ jobs:
144139
... other steps ....
145140
```
146141
It is important that:
147-
- the image specified uses the tag starting githubactions-
148142
- there is `options: --user 1001:1001 --group-add 128` below image to ensure it uses the correct user id and is added to the docker group
149143
- the default shell is set to be bash
150144
- the first step copies .tool-versions from /home/vscode to $HOME/.tool-versions

0 commit comments

Comments
 (0)