diff --git a/.github/workflows/release-chart.yml b/.github/workflows/release-chart.yml index 43e2515..3031cdf 100644 --- a/.github/workflows/release-chart.yml +++ b/.github/workflows/release-chart.yml @@ -8,25 +8,24 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Configure Git - run: | - git config user.name "$GITHUB_ACTOR" - git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + # - name: Login to DockerHub + # uses: docker/login-action@v2 + # with: + # username: ${{ secrets.DOCKER_USERNAME }} + # password: ${{ secrets.DOCKER_PASSWORD }} - - name: Install Helm - uses: azure/setup-helm@v1 + - name: Publish chart + uses: rberrelleza/helm-oci-chart-releaser@v0.4.1 with: - version: v3.8.1 - - - name: install dependency - run: | - helm repo add bitnami https://charts.bitnami.com/bitnami - - - name: Run chart-releaser - uses: helm/chart-releaser-action@v1.4.0 - env: - CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + name: mgob + repository: maxisam/mgob + tag: ${{ github.ref_name }} + path: charts/mgob + registry: registry-1.docker.io + registry_username: ${{ secrets.DOCKER_USERNAME }} + registry_password: ${{ secrets.DOCKER_PASSWORD }} + update_dependencies: "true"