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

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [alpine/helm](https://github.com/alpine-docker/helm) ([changelog](https://github.com/helm/helm)) |  | patch | `4.2.3` → `4.2.4` |  |
| [alpine/helm](https://github.com/alpine-docker/helm) ([changelog](https://github.com/helm/helm)) | container | patch | `4.2.3` → `4.2.4` |  |
| [commitlint/commitlint](https://github.com/conventional-changelog/commitlint) | container | patch | `21.2.1` → `21.2.2` |  |
| [docker.io/thegeeklab/git-sv](https://github.com/thegeeklab/git-sv) | container | patch | `3.0.0` → `3.0.1` |  |
| [https://github.com/docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) ([changelog](bb05f3f551..37fe631027)) | action | digest | `bb05f3f` → `37fe631` |  |
| [volker-raschek/ah-annotations](https://github.com/volker-raschek/ah-annotations) | action | patch | `v0.2.0` → `v0.2.1` | `v0.2.2` |

---

### Release Notes

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

### [`v21.2.2`](https://github.com/conventional-changelog/commitlint/blob/HEAD/CHANGELOG.md#2122-2026-08-13)

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

##### Bug Fixes

- **container:** resolve packages from TypeScript configs ([#&#8203;4914](https://github.com/conventional-changelog/commitlint/issues/4914)) ([f5712a9](f5712a9d21))
- **parse:** require colon after note keywords (conventional-commits-parser 7.1.2) ([#&#8203;4927](https://github.com/conventional-changelog/commitlint/issues/4927)) ([b83c515](b83c51569d)), closes [conventional-changelog/conventional-changelog#1517](https://github.com/conventional-changelog/conventional-changelog/issues/1517)
- **resolve-extends:** support Yarn Plug'n'Play ([#&#8203;4933](https://github.com/conventional-changelog/commitlint/issues/4933)) ([67ee127](67ee1271ea))

</details>

<details>
<summary>thegeeklab/git-sv (docker.io/thegeeklab/git-sv)</summary>

### [`v3.0.1`](https://github.com/thegeeklab/git-sv/releases/tag/v3.0.1)

[Compare Source](https://github.com/thegeeklab/git-sv/compare/v3.0.0...v3.0.1)

#### v3.0.1 (2026-08-06)

##### Bug Fixes

- **deps:** update module github.com/go-git/go-git/v6 to v6.0.0-alpha.5 ([#&#8203;341](https://github.com/thegeeklab/git-sv/issues/341)) ([`e5767ff`](https://github.com/thegeeklab/git-sv/commit/e5767ff))

##### Others

- **docker:** update docker.io/library/golang:1.26.5 docker digest to [`2005724`](https://github.com/thegeeklab/git-sv/commit/2005724) ([#&#8203;343](https://github.com/thegeeklab/git-sv/issues/343)) ([`da8319e`](https://github.com/thegeeklab/git-sv/commit/da8319e))
- **deps:** update dependency mvdan/gofumpt to v0.11.0 ([#&#8203;342](https://github.com/thegeeklab/git-sv/issues/342)) ([`61a7494`](https://github.com/thegeeklab/git-sv/commit/61a7494))

</details>

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

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

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

</details>

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xOTEuMiIsInVwZGF0ZWRJblZlciI6IjQzLjE5MS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJraW5kL2RlcGVuZGVuY3kiXX0=-->

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

82 lines
3.3 KiB
YAML

name: generate-chart
on:
push:
tags:
- "*"
env:
# renovate: datasource=docker depName=alpine/helm
HELM_VERSION: "4.2.4"
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@37fe631027851001ddb9b187196cc803df7f5f0e # 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@f99244b6ac37658456b9833d02d34886b67a07fe # v0.2.1
# 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