mirror of
https://gitea.com/gitea/helm-actions.git
synced 2026-12-01 08:57:48 +00:00
This PR contains the following updates: | Package | Type | Update | Change | Pending | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---|---|---|---| | [docker.io/thegeeklab/git-sv](https://github.com/thegeeklab/git-sv) | container | patch | `3.0.5` → `3.0.6` | `3.0.7` |  |  | | [https://github.com/Azure/setup-helm](https://github.com/Azure/setup-helm) ([changelog](https://github.com/Azure/setup-helm/compare/9bc31f4ebc9c6b171d7bfbaa5d006ae7abdb4310..2f5e7bc67f1f9972ab16657bb795f36d8f04de0e)) | action | digest | `9bc31f4` → `2f5e7bc` | | | | | [https://github.com/docker/login-action](https://github.com/docker/login-action) ([changelog](https://github.com/docker/login-action/compare/81c6f93d4bc991e510b342a00b419b3bb4efc5c6..8aa5831fb8d48d8f76594c7ddde61ae58019f550)) | action | digest | `81c6f93` → `8aa5831` | | | | | [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) | devDependencies | minor | [`^0.49.0` → `^0.50.0`](https://renovatebot.com/diffs/npm/markdownlint-cli/0.49.1/0.50.0) | |  |  | | [pnpm/action-setup](https://github.com/pnpm/action-setup) ([changelog](https://github.com/pnpm/action-setup/compare/0977fd99725f1db4007ccb2928dbb4e90d06cc86..73e46992e05b19abd31f2f3c20e0e7370d762115)) | action | digest | `0977fd9` → `73e4699` | | | | | [volker-raschek/ah-annotations](https://github.com/volker-raschek/ah-annotations) | action | patch | `v0.2.4` → `v0.2.5` | |  |  | --- ### Release Notes <details> <summary>thegeeklab/git-sv (docker.io/thegeeklab/git-sv)</summary> ### [`v3.0.6`](https://github.com/thegeeklab/git-sv/releases/tag/v3.0.6) [Compare Source](https://github.com/thegeeklab/git-sv/compare/v3.0.5...v3.0.6) #### v3.0.6 (2026-10-22) ##### Build - **docker:** update docker.io/library/alpine:3.24 docker digest to [`71e9b7b`](https://github.com/thegeeklab/git-sv/commit/71e9b7b) ([#​373](https://github.com/thegeeklab/git-sv/issues/373)) ([`a6b8888`](https://github.com/thegeeklab/git-sv/commit/a6b8888)) - **deps:** update golang patch version ([#​374](https://github.com/thegeeklab/git-sv/issues/374)) ([`6abdd1e`](https://github.com/thegeeklab/git-sv/commit/6abdd1e)) - **deps:** update ghcr.io/aquasecurity/trivy docker tag to v0.76.0 ([#​372](https://github.com/thegeeklab/git-sv/issues/372)) ([`a6f70f7`](https://github.com/thegeeklab/git-sv/commit/a6f70f7)) - **deps:** update dependency golangci/golangci-lint to v2.15.0 ([#​371](https://github.com/thegeeklab/git-sv/issues/371)) ([`5dd2dd6`](https://github.com/thegeeklab/git-sv/commit/5dd2dd6)) </details> <details> <summary>igorshubovych/markdownlint-cli (markdownlint-cli)</summary> ### [`v0.50.0`](https://github.com/igorshubovych/markdownlint-cli/releases/tag/v0.50.0) [Compare Source](https://github.com/igorshubovych/markdownlint-cli/compare/v0.49.1...v0.50.0) - Update `markdownlint` dependency to `0.42.0` - Improve `MD011`/`MD018`/`MD020`/`MD043`/`MD051`/`MD055`/`MD060` - Add regular expression denial of service protection - Add support for reporting issues with front matter - Update dependencies - Update all dependencies via `Dependabot` </details> <details> <summary>volker-raschek/ah-annotations</summary> ### [`v0.2.5`](https://github.com/volker-raschek/ah-annotations/compare/v0.2.4...v0.2.5) [Compare Source](https://github.com/volker-raschek/ah-annotations/compare/v0.2.4...v0.2.5) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - Only on Sunday and Saturday (`* * * * 0,6`) - Automerge - Between 12:00 AM and 03:59 AM (`* 0-3 * * *`) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xODEuNyIsInVwZGF0ZWRJblZlciI6IjQ0LjIyMi41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJraW5kL2RlcGVuZGVuY3kiXX0=--> Reviewed-on: https://gitea.com/gitea/helm-actions/pulls/193 Reviewed-by: Lunny Xiao <[email protected]> Co-authored-by: Renovate Bot <[email protected]>
82 lines
3.3 KiB
YAML
82 lines
3.3 KiB
YAML
name: generate-chart
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "*"
|
|
|
|
env:
|
|
# renovate: datasource=docker depName=alpine/helm
|
|
HELM_VERSION: "4.3.1"
|
|
|
|
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@2f5e7bc67f1f9972ab16657bb795f36d8f04de0e # 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@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # 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@00c8d25331570bd8f3408419e286916d8dcfb6c6 # v0.2.5
|
|
|
|
# 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
|