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