Set registry to public domain
This commit is contained in:
@ -10,6 +10,8 @@ on:
|
||||
|
||||
jobs:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user