Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerPushCmd ¶
type DockerPushCmd struct { // Cli is the docker client to use Cli types.DockerClienter // ImagePushOptions from docker sdk ImagePushOptions *dockertypes.ImagePushOptions // ImageName is the name of the image ImageName string // Tags is a list of the images to push Tags []string // Response manages the docker client output Response types.Responser // UseNormalizedNamed when is true tags are transformed to a fully qualified reference UseNormalizedNamed bool // RemoveAfterPush when is true the image from local is removed after push RemoveAfterPush bool }
DockerPushCmd is used to push images to docker registry
func (*DockerPushCmd) AddAuth ¶ added in v0.4.0
func (p *DockerPushCmd) AddAuth(username, password string) error
AddAuth append new tags to DockerBuilder
func (*DockerPushCmd) AddTag ¶ added in v0.4.0
func (p *DockerPushCmd) AddTag(tags ...string) error
AddTag append new tags to DockerBuilder
Click to show internal directories.
Click to hide internal directories.