Files
trebuchet/.gitea/workflows/helm-release.yml
T
Chris Farhood 48c0351be3
CI / Type-check & lint (push) Successful in 15s
CI / Build & push API image (push) Successful in 1m2s
CI / Build & push worker image (push) Successful in 3m6s
ci: switch back to REGISTRY_TOKEN PAT for registry auth
Even on Gitea 1.26 the auto-token still hits the registry with 401
in this environment. Use the gitea-admin PAT stored as REGISTRY_TOKEN.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 21:09:46 -04:00

42 lines
1.0 KiB
YAML

name: Helm Chart Release
on:
push:
branches: [main]
paths:
- 'charts/hightower/**'
permissions:
contents: read
packages: write
jobs:
release:
name: Lint, package & push OCI
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install Helm
uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
- name: Lint chart
run: helm lint charts/hightower
- name: Package chart
run: |
mkdir -p .helm-packages
helm package charts/hightower -d .helm-packages
- name: Log in to Gitea OCI registry
run: |
echo "${{ secrets.REGISTRY_TOKEN }}" | helm registry login git.farh.net \
--username gitea-admin \
--password-stdin
- name: Push chart to Gitea OCI registry
run: |
PACKAGE=$(ls .helm-packages/*.tgz | head -1)
helm push "$PACKAGE" oci://git.farh.net/farhoodlabs/charts