Commit 56e4c09
docs(registry-catalogue-and-pin-rot): add push-RBAC and tag-existence notes
Two facts surfaced during a /retro session, both fitting this file's
existing "verify with the registry, don't guess" theme:
- `composer:2-alpine` is not a real tag (composer:2 is already
Alpine-based) — a reminder that a variant tag "should" exist is not
the same as it existing. Also notes that an unqualified short image
reference (e.g. composer:2 in a .env/build-arg) fails hard under
non-interactive buildah/podman short-name resolution, unlike
interactive use — fully qualify the registry instead.
- A private-registry push failing "unauthorized" is a role question as
often as a credential one. Harbor's own RBAC API answers this in two
read-only calls instead of a build+push retry loop: a valid login
with no membership entry (or role_id: null) on the target project
means the account has zero role there, and no retry fixes that.
Signed-off-by: Axel Seemann <axel.seemann@netresearch.de>1 parent 4d819bb commit 56e4c09
1 file changed
Lines changed: 34 additions & 0 deletions
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
0 commit comments