Set registry to public domain

This commit is contained in:
2025-12-10 20:49:55 +01:00
parent 3e0b9e0fa4
commit 3aa707359f

View File

@ -9,7 +9,9 @@ on:
- 'Chart.yaml' # Only trigger if version changes or main is updated
jobs:
publish:
publish:
env:
REGISTRY_HOST: forge.northernlighthouseinteractive.com
runs-on: ubuntu-latest # Or whatever label your runner uses
steps:
- name: Checkout
@ -29,14 +31,14 @@ jobs:
- name: Login to Registry
run: |
# Gitea automatically provides the token and actor variables
echo ${{ secrets.GITEA_TOKEN }} | helm registry login ${{ gitea.server_url }} \
echo ${{ secrets.GITEA_TOKEN }} | helm registry login ${{ env.REGISTRY_HOST }} \
--username ${{ gitea.actor }} \
--password-stdin
- name: Push to Gitea Registry
run: |
# Clean the protocol (https://) from the URL for OCI
DOMAIN=${{ gitea.server_url }}
DOMAIN=${{ env.REGISTRY_HOST }}
DOMAIN=${DOMAIN#*//}
# Find the packaged .tgz file