Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image struct { Repository string // image repository eg. `registry.gitlab.com/my/project` Tag string // image tag eg. `0.1.0` Aliases []string // additional tags pointing to the same image eg. `latest, test` Username string // registry username Password string // registry password }
This type represents a Docker image with credentials used to authenticate to a registry that stores it
func (Image) PullRegistry ¶
PushRegistry() returns details of a registry that one can use to pull this image from. This is also valid after GitLab CI/CD job is complete.
func (Image) PushRegistry ¶
PushRegistry() returns details of a registry that one can use to push this image to
Click to show internal directories.
Click to hide internal directories.