Skip to main content
Version: 0.15 (glpkg CLI)

Environment variables

VariablePurpose
GITLAB_TOKENGitLab token, used when no --token is given and no token is saved with glpkg config save
IST_GITLAB_HOSTGitLab host name for a self-managed instance, for example gitlab.example.com (host name only, no https://)

GITLAB_TOKEN​

Token lookup order: --token → ~/.config/glpkg/token → GITLAB_TOKEN.

A saved token file takes precedence over the variable. In CI, do not run glpkg config save; set GITLAB_TOKEN as a masked variable instead. See GitLab CI.

glpkg registry info, list and search use the saved token file only.

IST_GITLAB_HOST​

Overrides the host default (glpkg config defaults host) for install, publish, lock and registry versions / delete. glpkg repo uses --host or the host default instead. See Self-managed GitLab for the full picture.