From f8ff977c69869a8a1c90461e709adfb97d9677b0 Mon Sep 17 00:00:00 2001 From: Carlos Giraldo Date: Mon, 9 Dec 2024 12:00:13 +0100 Subject: [PATCH] update release action --- .github/workflows/release.yml | 13 +++++++------ charts/iperf3/artifacthub-repo.yml | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index abf56b0ae..c7989f5fd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,18 +46,19 @@ 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: | @@ -65,4 +66,4 @@ jobs: 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 \ No newline at end of file + charts/${{ matrix.chart }}/artifacthub-repo.yml:application/vnd.cncf.artifacthub.repository-metadata.layer.v1.yaml diff --git a/charts/iperf3/artifacthub-repo.yml b/charts/iperf3/artifacthub-repo.yml index fa4943f97..98081f22a 100644 --- a/charts/iperf3/artifacthub-repo.yml +++ b/charts/iperf3/artifacthub-repo.yml @@ -1,5 +1,5 @@ repositoryID: 05ea4c11-407d-4a91-a52a-ef01307ab8cf -owners: +owners: # optional - name: cgiraldo email: cgiraldo@gradiant.org - name: avrodriguez