Skip to content

Commit

Permalink
update release action
Browse files Browse the repository at this point in the history
  • Loading branch information
cgiraldo committed Dec 9, 2024
1 parent 2b7bb16 commit f8ff977
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,24 @@ jobs:
env:
username: ${{ secrets.OCI_USERNAME }}
password: ${{ secrets.OCI_PASSWORD }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.OCI_USERNAME }}
password: ${{ secrets.OCI_PASSWORD }}
- name: push chart
id: push
run: |
echo "Packaging chart '${{ matrix.chart }}'..."
helm dep update charts/${{ matrix.chart }}
helm package charts/${{ matrix.chart }}
echo "Push package '${{ matrix.chart }}' to $registry ..."
helm push ${{ matrix.chart }}*.tgz oci://$registry
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.OCI_USERNAME }}
password: ${{ secrets.OCI_PASSWORD }}
- name: push metadata
id: push-metadata
run: |
echo "Pushing '${{ matrix.chart }}' metadata for artifacthub.io ..."
oras push \
$registry/${{ matrix.chart }}:artifacthub.io \
--config /dev/null:application/vnd.cncf.artifacthub.config.v1+yaml \
charts/${{ matrix.chart }}/artifacthub-repo.yml:application/vnd.cncf.artifacthub.repository-metadata.layer.v1.yaml
charts/${{ matrix.chart }}/artifacthub-repo.yml:application/vnd.cncf.artifacthub.repository-metadata.layer.v1.yaml
2 changes: 1 addition & 1 deletion charts/iperf3/artifacthub-repo.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
repositoryID: 05ea4c11-407d-4a91-a52a-ef01307ab8cf
owners:
owners: # optional
- name: cgiraldo
email: [email protected]
- name: avrodriguez
Expand Down

0 comments on commit f8ff977

Please sign in to comment.