mirror of
https://github.com/project-zot/zot.git
synced 2026-06-18 13:37:57 +08:00
Fix remaining review comments
- Standardize terminology: use 'OIDC claims' consistently - Clarify audience verification comment - Improve error handling when no bearer method is configured - Fix Authorization header case in documentation (Bearer not bearer) Co-authored-by: rchincha <45800463+rchincha@users.noreply.github.com>
This commit is contained in:
@@ -134,7 +134,7 @@ GitHub Actions can use OIDC tokens to authenticate:
|
||||
```yaml
|
||||
- name: Login to Zot
|
||||
run: |
|
||||
TOKEN=$(curl -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" \
|
||||
TOKEN=$(curl -H "Authorization: Bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" \
|
||||
"$ACTIONS_ID_TOKEN_REQUEST_URL&audience=zot" | jq -r .value)
|
||||
echo $TOKEN | docker login -u oauth --password-stdin zot.example.com
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user