mirror of
https://gitea.com/gitea/helm-actions.git
synced 2026-08-22 14:53:58 +00:00
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [docker.io/thegeeklab/git-sv](https://github.com/thegeeklab/git-sv) | container | patch | `3.0.1` → `3.0.2` | | [volker-raschek/ah-annotations](https://github.com/volker-raschek/ah-annotations) | action | patch | `v0.2.1` → `v0.2.2` | --- ### Release Notes <details> <summary>thegeeklab/git-sv (docker.io/thegeeklab/git-sv)</summary> ### [`v3.0.2`](https://github.com/thegeeklab/git-sv/releases/tag/v3.0.2) [Compare Source](https://github.com/thegeeklab/git-sv/compare/v3.0.1...v3.0.2) #### v3.0.2 (2026-08-25) ##### Build - **deps:** update golang version ([#​349](https://github.com/thegeeklab/git-sv/issues/349)) ([`a360b31`](https://github.com/thegeeklab/git-sv/commit/a360b31)) - **deps:** update module github.com/urfave/cli/v3 to v3.11.0 ([#​351](https://github.com/thegeeklab/git-sv/issues/351)) ([`4655693`](https://github.com/thegeeklab/git-sv/commit/4655693)) - **deps:** update golang devdeps non-major ([#​350](https://github.com/thegeeklab/git-sv/issues/350)) ([`68e6cce`](https://github.com/thegeeklab/git-sv/commit/68e6cce)) - **deps:** update ghcr.io/aquasecurity/trivy docker tag to v0.74.0 ([#​347](https://github.com/thegeeklab/git-sv/issues/347)) ([`f87d1a9`](https://github.com/thegeeklab/git-sv/commit/f87d1a9)) - **deps:** update golang patch version ([#​346](https://github.com/thegeeklab/git-sv/issues/346)) ([`b401399`](https://github.com/thegeeklab/git-sv/commit/b401399)) - **docker:** update docker.io/library/golang:1.26.5 docker digest to [`705e964`](https://github.com/thegeeklab/git-sv/commit/705e964) ([#​345](https://github.com/thegeeklab/git-sv/issues/345)) ([`157720d`](https://github.com/thegeeklab/git-sv/commit/157720d)) - **deps:** update ghcr.io/aquasecurity/trivy docker tag to v0.73.0 ([#​344](https://github.com/thegeeklab/git-sv/issues/344)) ([`f366637`](https://github.com/thegeeklab/git-sv/commit/f366637)) - fix gitsv patch categories ([`45cd763`](https://github.com/thegeeklab/git-sv/commit/45cd763)) - improve git-sv changelog sections ([`9bf518b`](https://github.com/thegeeklab/git-sv/commit/9bf518b)) </details> <details> <summary>volker-raschek/ah-annotations (volker-raschek/ah-annotations)</summary> ### [`v0.2.2`](https://github.com/volker-raschek/ah-annotations/compare/v0.2.1...v0.2.2) [Compare Source](https://github.com/volker-raschek/ah-annotations/compare/v0.2.1...v0.2.2) </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](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xOTEuMiIsInVwZGF0ZWRJblZlciI6IjQzLjE5MS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJraW5kL2RlcGVuZGVuY3kiXX0=--> Reviewed-on: https://gitea.com/gitea/helm-actions/pulls/184 Reviewed-by: DaanSelen <135789+daanselen@noreply.gitea.com> Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
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.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@7959e52208294befed11210aef0c8e9299cc6a23 # v0.2.2
|
|
|
|
# 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
|