4 Commits
v6.9.4 ... main

Author SHA1 Message Date
Gitea Actions Bot
999f0ae02b chore: update nginx to 1.29.8-alpine-perl (no release) 2026-04-12 00:00:47 +00:00
Gitea Actions Bot
07e55191f9 chore: update nginx to 1.29.7-alpine-perl (no release) 2026-03-29 00:00:23 +00:00
449d87c314 Chart.yaml を更新
All checks were successful
Helm Chart Release / release-chart (push) Successful in 5s
Update Docker Image Tags and Release Helm Chart / update-and-release (push) Successful in 10s
2026-03-21 22:20:13 +00:00
34c74db6f7 fix: publish Helm chart to Gitea Package Registry instead of gh-pages
All checks were successful
Helm Chart Release / release-chart (push) Successful in 6s
gh-pagesブランチへの独自index.yaml生成を廃止し、
helm-release.yamlと同じGitea Package Registry
(https://git.cafepieters.com/api/packages/helmchart/helm/)
への直接publishに統一。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-19 21:07:41 +09:00
3 changed files with 10 additions and 41 deletions

View File

@@ -248,7 +248,7 @@ jobs:
echo "Release v${APP_VERSION} created with asset ${PACKAGE_FILE}"
fi
- name: Update Helm Repository Index
- name: Publish to Gitea Package Registry
if: steps.check_update.outputs.wp_updated == 'true'
run: |
set -e
@@ -256,46 +256,15 @@ jobs:
CHART_NAME=$(grep '^name:' Chart.yaml | awk '{print $2}')
PACKAGE_FILE="${CHART_NAME}-${APP_VERSION}.tgz"
echo "Preparing Helm repository update..."
echo "🚀 Publishing ${PACKAGE_FILE} to Gitea Package Registry..."
# パッケージファイルを一時ディレクトリに移動
mkdir -p /tmp/helm-repo
cp "${PACKAGE_FILE}" /tmp/helm-repo/
curl --fail-with-body \
-u "${{ secrets.REGISTRY_USER }}:${{ secrets.REGISTRY_TOKEN }}" \
-X POST \
--upload-file "${PACKAGE_FILE}" \
"https://git.cafepieters.com/api/packages/helmchart/helm/api/charts"
# gh-pagesブランチの処理
if git ls-remote --heads origin gh-pages | grep gh-pages; then
echo "gh-pages branch exists, checking out..."
git fetch origin gh-pages
git checkout gh-pages
else
echo "Creating new gh-pages branch..."
git checkout --orphan gh-pages
git rm -rf . || true
echo "# Helm Repository" > README.md
git config user.name "Gitea Actions Bot"
git config user.email "actions@git.cafepieters.com"
git add README.md
git commit -m "Initialize gh-pages branch"
git push origin gh-pages
fi
# パッケージファイルをコピー
cp /tmp/helm-repo/"${PACKAGE_FILE}" .
# index.yamlを生成/更新
helm repo index . --url "https://git.cafepieters.com/${GITHUB_REPOSITORY}/raw/branch/gh-pages"
# コミットしてプッシュ
git config user.name "Gitea Actions Bot"
git config user.email "actions@git.cafepieters.com"
git add "${PACKAGE_FILE}" index.yaml
git commit -m "chore: add ${CHART_NAME} v${APP_VERSION}" || echo "No changes to commit"
git push origin gh-pages
echo "Helm repository updated successfully"
# mainブランチに戻る
git checkout main
echo "✅ Chart published successfully to Gitea Package Registry"
- name: Summary
if: always()

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: wordpress-nginx
description: WordPress with Nginx and PHP-FPM on Kubernetes
type: application
version: 6.9.4
version: 6.9.4-a
appVersion: "6.9.4"
keywords:
- wordpress

View File

@@ -5,7 +5,7 @@ image:
nginx:
registry: docker.io
repository: nginx
tag: "1.29.6-alpine-perl"
tag: "1.29.8-alpine-perl"
pullPolicy: IfNotPresent
wordpress:
registry: docker.io