Files
gitea-helm-actions/.gitea/workflows/release-version.yml
T
Renovate Bot 92296f31e6 chore(deps): update workflow dependencies (minor & patch) (#188)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [alpine/helm](https://github.com/alpine-docker/helm) ([changelog](https://github.com/helm/helm)) |  | minor | `4.2.4` → `4.3.0` |
| [alpine/helm](https://github.com/alpine-docker/helm) ([changelog](https://github.com/helm/helm)) | container | minor | `4.2.4` → `4.3.0` |
| [commitlint/commitlint](https://github.com/conventional-changelog/commitlint) | container | patch | `21.2.2` → `21.2.3` |
| [https://github.com/docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) ([changelog](https://github.com/docker/setup-buildx-action/compare/37fe631027851001ddb9b187196cc803df7f5f0e..f87e5991a6d7451dcb8d9637bfbc97413f497069)) | action | digest | `37fe631` → `f87e599` |
| [volker-raschek/ah-annotations](https://github.com/volker-raschek/ah-annotations) | action | patch | `v0.2.2` → `v0.2.3` |

---

### Release Notes

<details>
<summary>conventional-changelog/commitlint (commitlint/commitlint)</summary>

### [`v21.2.3`](https://github.com/conventional-changelog/commitlint/blob/HEAD/CHANGELOG.md#2123-2026-09-19)

[Compare Source](https://github.com/conventional-changelog/commitlint/compare/v21.2.2...v21.2.3)

##### Bug Fixes

- **config-nx-scopes:** read scopes from the nx project graph ([#&#8203;4957](https://github.com/conventional-changelog/commitlint/issues/4957)) ([013c358](https://github.com/conventional-changelog/commitlint/commit/013c3582e60ca9675fbc1e994cb6f28dd5e8403d))
- **lint:** trim trailing whitespace off the message handed to ignore matchers ([#&#8203;4960](https://github.com/conventional-changelog/commitlint/issues/4960)) ([a6f279b](https://github.com/conventional-changelog/commitlint/commit/a6f279b931bb4cf01d17a9ced48de5b9377172bd))
- **load:** detect dynamic await support on node majors above 20 ([#&#8203;4961](https://github.com/conventional-changelog/commitlint/issues/4961)) ([77df555](https://github.com/conventional-changelog/commitlint/commit/77df55532e77108714d7c0090f7f85a9b7b4a0af))
- **load:** run the parser factory of scoped conventional-changelog presets ([#&#8203;4968](https://github.com/conventional-changelog/commitlint/issues/4968)) ([a42b18c](https://github.com/conventional-changelog/commitlint/commit/a42b18c5cde5e70b39b636017b8dfbd7dfe890ca)), closes [#&#8203;2488](https://github.com/conventional-changelog/commitlint/issues/2488)
- **rules:** report the case that matched in case rule failure messages ([#&#8203;4962](https://github.com/conventional-changelog/commitlint/issues/4962)) ([9f5f7bc](https://github.com/conventional-changelog/commitlint/commit/9f5f7bc0304f85f270097a4046da6d0509c44620))
- **types:** correct breaking-change-exclamation-mark rule config type ([#&#8203;4954](https://github.com/conventional-changelog/commitlint/issues/4954)) ([66f0ffb](https://github.com/conventional-changelog/commitlint/commit/66f0ffb2d2f2b8e5964b3774f7b7f6d964253f9e))
- update vitest monorepo to v5 ([#&#8203;4992](https://github.com/conventional-changelog/commitlint/issues/4992)) ([91fb534](https://github.com/conventional-changelog/commitlint/commit/91fb534b8c9a1016ea4614f522a79a69977c52e4)), closes [vitest-dev/vitest#10222](https://github.com/vitest-dev/vitest/issues/10222) [vitest-dev/vitest#10460](https://github.com/vitest-dev/vitest/issues/10460) [vitest-dev/vitest#10449](https://github.com/vitest-dev/vitest/issues/10449)

</details>

<details>
<summary>volker-raschek/ah-annotations (volker-raschek/ah-annotations)</summary>

### [`v0.2.3`](https://github.com/volker-raschek/ah-annotations/compare/v0.2.2...v0.2.3)

[Compare Source](https://github.com/volker-raschek/ah-annotations/compare/v0.2.2...v0.2.3)

</details>

---

Reviewed-on: https://gitea.com/gitea/helm-actions/pulls/188
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
2026-09-25 21:34:42 +00:00

82 lines
3.3 KiB
YAML

name: generate-chart
on:
push:
tags:
- "*"
env:
# renovate: datasource=docker depName=alpine/helm
HELM_VERSION: "4.3.0"
jobs:
generate-chart-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: install Docker CLI
uses: https://github.com/docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4 # Gitea
#uses: docker/setup-buildx-action@v4 # Github / Act
- name: install Helm
uses: https://github.com/Azure/setup-helm@9bc31f4ebc9c6b171d7bfbaa5d006ae7abdb4310 # v5 # Gitea
#uses: Azure/setup-helm@v5 # Github / Act
with:
version: "${{ env.HELM_VERSION }}"
- name: install tools
run: |
apt update
apt install -y curl ca-certificates curl gnupg python3 python3-pip apt-transport-https
pip install awscli --break-system-packages
- name: import GPG key
id: import_gpg
uses: https://github.com/crazy-max/ghaction-import-gpg@2dc316deee8e90f13e1a351ab510b4d5bc0c82cd # v7 # Gitea
#uses: crazy-max/ghaction-import-gpg@v7 # Github / Act
with:
gpg_private_key: ${{ secrets.GPGSIGN_KEY }}
passphrase: ${{ secrets.GPGSIGN_PASSPHRASE }}
fingerprint: CC64B1DB67ABBEECAB24B6455FC346329753F4B0
- name: log into Docker Hub
uses: https://github.com/docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4 # Gitea
#uses: docker/login-action@v4 # Github / Act
with:
username: ${{ secrets.DOCKER_CHARTS_USERNAME }}
password: ${{ secrets.DOCKER_CHARTS_PASSWORD }}
- name: Add Artifacthub.io annotations
uses: volker-raschek/ah-annotations@db3cdb4828f664cd195bf4fd660aaa6f4959234c # v0.2.3
# Using helm gpg plugin as 'helm package --sign' has issues with gpg2: https://github.com/helm/helm/issues/2843
- name: package chart
run: |
# Install Helm GPG plugin
helm plugin install https://github.com/technosophos/helm-gpg.git --verify=false
# Package the chart
mkdir ./actions
helm dependency build
helm package --version "${GITHUB_REF#refs/tags/v}" --destination ./actions ./
curl -s -L -o actions/index.yaml https://dl.gitea.com/charts/index.yaml
helm repo index actions/ --url https://dl.gitea.com/charts --merge actions/index.yaml
# Push to Docker Hub
echo ${{ secrets.DOCKER_CHARTS_PASSWORD }} | helm registry login -u ${{ secrets.DOCKER_CHARTS_USERNAME }} registry-1.docker.io --password-stdin
helm push actions/actions-${GITHUB_REF#refs/tags/v}.tgz oci://registry-1.docker.io/giteacharts
helm registry logout registry-1.docker.io
env:
TAR_OPTIONS: "--wildcards"
- name: Copy files to Cloudflare R2
env:
AWS_ACCESS_KEY_ID: ${{ secrets.CLOUDFLARE_R2_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.CLOUDFLARE_R2_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: auto
CLOUDFLARE_R2_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_R2_ACCOUNT_ID }}
CLOUDFLARE_R2_BUCKET: ${{ secrets.CLOUDFLARE_R2_BUCKET }}
run: |
aws s3 sync actions/ s3://${CLOUDFLARE_R2_BUCKET}/charts/ --endpoint-url https://${CLOUDFLARE_R2_ACCOUNT_ID}.r2.cloudflarestorage.com