-
Notifications
You must be signed in to change notification settings - Fork 1
Prerequisites
We will use ghcr.io (GitHub Container Registry, see documentation). Your packages can be found in your GitHub Profile, Packages tab. You should have none or you may already have your own if you already used this service.
In GitHub, go to your Settings > Developer settings (bottom of the left menu) > Personal access tokens > Tokens (classic) > Generate new token (classic) (top right corner).
Name your token, tick write:packages + delete:packages and create your token. GitHub documentation recommends to save it as an environment variable. In a terminal, paste your token in the command below and execute it:
export CR_PAT=YOUR_TOKEN
Sign in to the Container registry, execute the command below in your terminal, change it with your GitHub username:
echo $CR_PAT | docker login ghcr.io -u YOUR_GITHUB_USERNAME --password-stdin
Create the values.yaml file:
cp values.example.yaml values.yaml
You must change at least three fields:
-
image.repository: change it with the image repository and change with your username and repo name -
image.tag: change it with the tag of your image -
app.host: it should be the same asbase_urlinHEP Training.ymland without thehttps:// -
app.ssoRedirectUri(if you are willing to use OIDC on HEP Training) : it should behttps://YOUR_APP.HOST/users/auth/oidc/callback
You can change name, description at your will. Make sure to properly change the version (which is your Helm chart version) and appVersion (which is HEP Training' version).