Harbor Repo
These can be set at any level but we generally set them at the group or project level.
Variable | Value |
---|---|
HARBOR_HOST | hostname of harbor instance, no http:// or https:// |
HARBOR_CERT | PEM format certificate with each \n (actual char) replaced with "\n" string |
Run the following command: | |
cat harbor.crt \| sed -E '$!s/$/\\n/' \| tr -d '\n' |
|
where harbor.crt |
|
HARBOR_USER | Username of harbor user with permissions to push images |
HARBOR_EMAIL | Email of harbor user with permissions to push images |
HARBOR_PASSWORD | Password of harbor user with permissions to push images |