-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Push ArtifactHub verification to ghcr (#347)
* chore: add helm/artifacthub-repo.yml * ci: add pipeline
- Loading branch information
1 parent
83aaad2
commit 2b82ae4
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Artifact Repo Publish | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
paths: [helm/artifacthub-repo.yml] | ||
|
||
jobs: | ||
upload-artifact-repo-config: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install oras | ||
run: | | ||
curl -L https://github.com/oras-project/oras/releases/download/v1.1.0/oras_1.1.0_linux_amd64.tar.gz -o oras.tar.gz | ||
tar -xzf oras.tar.gz oras | ||
sudo mv oras /usr/local/bin | ||
rm oras.tar.gz | ||
- name: Docker Login | ||
uses: docker/[email protected] | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: oras push | ||
working-directory: ./helm | ||
run: | | ||
oras push \ | ||
ghcr.io/nmshd/backbone-helm-chart:artifacthub.io \ | ||
--config /dev/null:application/vnd.cncf.artifacthub.config.v1+yaml \ | ||
artifacthub-repo.yml:application/vnd.cncf.artifacthub.repository-metadata.layer.v1.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
repositoryID: 11704731-627d-4eec-9078-33b96c55a846 | ||
owners: | ||
- name: tnotheis | ||
email: [email protected] |