Skip to content

Commit f25846a

Browse files
committed
Update metadata.yml
Signed-off-by: Víctor Cuadrado Juan <vcuadradojuan@suse.de>
1 parent d67fab8 commit f25846a

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/release.yml.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ jobs:
2525

2626
uses: kubewarden/github-actions/.github/workflows/reusable-release-policy-swift.yml@v2
2727
with:
28-
oci-target: # FIXME: use something like: ghcr.io/${{ github.repository_owner }}/policies/pod-runtime
28+
oci-target: # FIXME: use something like: ghcr.io/${{ github.repository_owner }}/policies/policy-name
2929
secrets:
3030
workflow-pat: ${{ secrets.WORKFLOW_PAT }}

metadata.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ mutating: false
77
contextAware: false
88
executionMode: kubewarden-wapc
99
annotations:
10+
# artifacthub specific:
11+
io.artifacthub.displayName: Policy Name
12+
io.artifacthub.resources: Pod
13+
io.artifacthub.keywords: pod, cool policy, kubewarden
14+
io.kubewarden.policy.ociUrl: ghcr.io/yourorg/policies/policy-name # must match release workflow oci-target
15+
# kubewarden specific:
1016
io.kubewarden.policy.title: policy-name
1117
io.kubewarden.policy.description: Short description
1218
io.kubewarden.policy.author: policy-author

0 commit comments

Comments
 (0)