diff --git a/.gitea/workflows/publish-chart.yaml b/.gitea/workflows/publish-chart.yaml index a9f79a4..3dd96a7 100644 --- a/.gitea/workflows/publish-chart.yaml +++ b/.gitea/workflows/publish-chart.yaml @@ -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