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