mirror of
https://gitea.com/gitea/helm-actions.git
synced 2026-07-16 03:04:50 +00:00
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.0` → `4.2.1` | `4.2.2` | | [alpine/helm](https://github.com/alpine-docker/helm) ([changelog](https://github.com/helm/helm)) | container | patch | `4.2.0` → `4.2.1` | `4.2.2` | | [docker.io/thegeeklab/git-sv](https://github.com/thegeeklab/git-sv) | container | patch | `2.1.1` → `2.1.2` | `2.1.3` | --- ### Release Notes <details> <summary>thegeeklab/git-sv (docker.io/thegeeklab/git-sv)</summary> ### [`v2.1.2`](https://github.com/thegeeklab/git-sv/releases/tag/v2.1.2) [Compare Source](https://github.com/thegeeklab/git-sv/compare/v2.1.1...v2.1.2) #### v2.1.2 (2026-06-12) ##### Bug Fixes - **deps:** update module github.com/urfave/cli/v3 to v3.9.0 ([#​322](https://github.com/thegeeklab/git-sv/issues/322)) ([`0726b41`](https://github.com/thegeeklab/git-sv/commit/0726b41)) - **deps:** update module github.com/go-git/go-git/v6 to v6.0.0-alpha.4 ([#​318](https://github.com/thegeeklab/git-sv/issues/318)) ([`d45d4e3`](https://github.com/thegeeklab/git-sv/commit/d45d4e3)) ##### Others - **docker:** update docker digests ([#​326](https://github.com/thegeeklab/git-sv/issues/326)) ([`a2c649e`](https://github.com/thegeeklab/git-sv/commit/a2c649e)) - force-update libcrypto3 ([`0b17e0f`](https://github.com/thegeeklab/git-sv/commit/0b17e0f)) - **deps:** update docker.io/library/alpine docker tag to v3.24 ([#​325](https://github.com/thegeeklab/git-sv/issues/325)) ([`0cb08e1`](https://github.com/thegeeklab/git-sv/commit/0cb08e1)) - **deps:** update ci tools non-major to v0.71.0 ([#​324](https://github.com/thegeeklab/git-sv/issues/324)) ([`4f3d1e0`](https://github.com/thegeeklab/git-sv/commit/4f3d1e0)) - **deps:** update golang patch version ([#​323](https://github.com/thegeeklab/git-sv/issues/323)) ([`c04b684`](https://github.com/thegeeklab/git-sv/commit/c04b684)) - **docker:** update docker.io/library/golang:1.26.3 docker digest to [`2d6c802`](https://github.com/thegeeklab/git-sv/commit/2d6c802) ([#​321](https://github.com/thegeeklab/git-sv/issues/321)) ([`ce6e934`](https://github.com/thegeeklab/git-sv/commit/ce6e934)) - **docker:** update docker.io/library/golang:1.26.3 docker digest to [`6df14f4`](https://github.com/thegeeklab/git-sv/commit/6df14f4) ([#​320](https://github.com/thegeeklab/git-sv/issues/320)) ([`1f3eb99`](https://github.com/thegeeklab/git-sv/commit/1f3eb99)) - **deps:** update dependency golangci/golangci-lint to v2.12.2 ([#​319](https://github.com/thegeeklab/git-sv/issues/319)) ([`ef28ca6`](https://github.com/thegeeklab/git-sv/commit/ef28ca6)) - **docker:** update docker.io/library/golang:1.26.3 docker digest to [`313faae`](https://github.com/thegeeklab/git-sv/commit/313faae) ([#​317](https://github.com/thegeeklab/git-sv/issues/317)) ([`9f9e21c`](https://github.com/thegeeklab/git-sv/commit/9f9e21c)) ##### CI Pipeline - bump gomodguard to gomodguard\_v2 and temp disable goconst \[skip ci] ([`b71f653`](https://github.com/thegeeklab/git-sv/commit/b71f653)) </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/161 Reviewed-by: DaanSelen <135789+daanselen@noreply.gitea.com> Co-authored-by: Renovate Bot <renovate-bot@gitea.com> Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
82 lines
3.0 KiB
YAML
82 lines
3.0 KiB
YAML
name: generate-chart
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "*"
|
|
|
|
env:
|
|
# renovate: datasource=docker depName=alpine/helm
|
|
HELM_VERSION: "4.2.1"
|
|
|
|
jobs:
|
|
generate-chart-publish:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: install Docker CLI
|
|
uses: https://github.com/docker/setup-buildx-action@v4 # Gitea
|
|
#uses: docker/setup-buildx-action@v4 # Github / Act
|
|
|
|
- name: install Helm
|
|
uses: https://github.com/Azure/setup-helm@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@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@v4 # Gitea
|
|
#uses: docker/login-action@v4 # Github / Act
|
|
with:
|
|
username: ${{ secrets.DOCKER_CHARTS_USERNAME }}
|
|
password: ${{ secrets.DOCKER_CHARTS_PASSWORD }}
|
|
|
|
# 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: aws credential configure
|
|
uses: https://github.com/aws-actions/configure-aws-credentials@v6 # Gitea
|
|
#uses: aws-actions/configure-aws-credentials@v6 # Github / Act
|
|
with:
|
|
aws-access-key-id: ${{ secrets.AWS_KEY_ID }}
|
|
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
aws-region: ${{ secrets.AWS_REGION }}
|
|
|
|
- name: copy files to S3 and clear cache
|
|
if: startsWith(github.ref, 'refs/tags/')
|
|
run: |
|
|
aws s3 sync actions/ s3://${{ secrets.AWS_S3_BUCKET}}/charts/
|