Skip to content

GitLab CI Kotlin DSLopensavvy.gitlab.ci.pluginsDockerlogInToRegistry

logInToRegistry

fun logInToRegistry(registry: String, username: String, password: String): ERROR CLASS: Unresolved name: with

Logs in to an arbitrary container registry.

To log in to the GitLab container registry of the current project, use useContainerRegistry instead.

Parameters

registry

The URL of the registry to log in to.

username

The username used to log in to registry.

password

The password used to log in to registry.