You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apply docs style feedback: hyphenate placeholders, remove duplicate link
- Use hyphenated placeholders (YOUR-CONNECTION-ID, YOUR-DOCKER-ORG) per
docs style, while leaving the DOCKERHUB_OIDC_CONNECTIONID env var name
untouched since it's a literal required identifier, not a placeholder
- Remove the "Further reading" section, which duplicated the AUTOTITLE
link already given in the Subject claim matching note
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: content/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-docker.md
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ To use OIDC with Docker, establish a trust relationship between {% data variable
49
49
50
50
Once you have created an OIDC connection in Docker, update your workflow to authenticate using the [`docker/login-action`](https://github.com/docker/login-action) action.
51
51
52
-
The following example uses the placeholder `YOUR_CONNECTION_ID` for the connection ID you copied from Docker, and `YOUR_DOCKER_ORG` for your Docker organization name.
52
+
The following example uses the placeholder `YOUR-CONNECTION-ID` for the connection ID you copied from Docker, and `YOUR-DOCKER-ORG` for your Docker organization name.
53
53
54
54
```yaml
55
55
{% data reusables.actions.actions-not-certified-by-github-comment %}
password: {% raw %}${{ steps.docker-oidc.outputs.token }}{% endraw %}
112
112
```
113
113
@@ -134,7 +134,3 @@ Different workflow triggers produce different subject claims. For example:
134
134
You can use wildcard patterns in your rulesets to match multiple repositories or branches. For example, `repo:my-org/*` matches all repositories in your organization.
135
135
136
136
For more information, see [Rulesets and subject claims](https://docs.docker.com/enterprise/security/oidc-connections/rulesets-claims/) in the Docker documentation.
0 commit comments