Skip to content

Commit 06c5cbb

Browse files
committed
docs(marketplace): state that an index entry's ociRef carries no tag
The gate and short-name tap both concatenate ociRef and version, so a tag in ociRef produces a reference with two. The example was already right and the constraint unwritten. Signed-off-by: IvanHunters <[email protected]>
1 parent a50d7b6 commit 06c5cbb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎content/en/docs/next/marketplace/publishing.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ signing:
137137
issuer: https://token.actions.githubusercontent.com
138138
```
139139

140+
Leave the tag off `ociRef`. Both the index gate and a short-name `cozypkg tap` build the reference as `<ociRef>:<version>`, so a tag baked into `ociRef` yields one carrying two of them, and nothing resolves it.
141+
140142
### Two-lane merge policy
141143

142144
Following the model of krew-index, submissions take one of two lanes:

0 commit comments

Comments
 (0)