Docker CI/CD

GitHub Actions OIDC token permission

Allows requesting an OIDC token. The external provider independently evaluates the trust policy before issuing credentials. Do not grant it to untrusted jobs. Check provider trust and issued credential scope independently.

Formal Syntax & Structure

docker syntaxdocker
permissions: {id-token: write}

Working Example

Example Snippetdocker
id-token: write
Docker Reference