File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : artifacthub repo metadata
2+
3+ on :
4+ push :
5+
6+ concurrency :
7+ group : artifacthub
8+ cancel-in-progress : true
9+
10+ permissions :
11+ contents : read
12+ packages : write
13+
14+ jobs :
15+ artifacthub :
16+ runs-on : ubuntu-latest
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
20+
21+ - uses : oras-project/setup-oras@8d34698a59f5ffe24821f0b48ab62a3de8b64b20 # v1.2.3
22+
23+ - name : Login to GitHub Container Registry
24+ run : |
25+ echo ${{ secrets.GITHUB_TOKEN }} | oras login -u ${{ github.actor }} --password-stdin ghcr.io
26+
27+ - name : artifacthub repo meta to GHCR
28+ run : |
29+ oras push \
30+ ghcr.io/${{ github.repository_owner }}/charts/renovate:artifacthub.io \
31+ --config /dev/null:application/vnd.cncf.artifacthub.config.v1+yaml \
32+ artifacthub-repo.yml:application/vnd.cncf.artifacthub.repository-metadata.layer.v1.yaml
You can’t perform that action at this time.
0 commit comments