Skip to content

Prerequisites

Valentin Ryckaert edited this page Jul 22, 2026 · 2 revisions

Sign in to your GitHub repository

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.

Create a token

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 using 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

Configure values.yaml

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 as base_url in HEP Training.yml and without the https://
  • app.ssoRedirectUri (if you are willing to use OIDC on HEP Training) : it should be https://YOUR_APP.HOST/users/auth/oidc/callback

Configure Chart.yaml

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).

Clone this wiki locally