GitLab CI Kotlin DSL • opensavvy.gitlab.ci.plugins • Docker • push
push¶
Pushes the image to a container registry.
Before pushing to a container registry, you may want to logInToRegistry.
Parameters¶
- image
-
The name of the image that will be pushed (e.g.
"backend"). The image must exist locally. - version
-
The version of the image to push. The default version number for this command is the same as the
buildcommand's, making it easy to use them together.
Samples¶
opensavvy.gitlab.ci.plugins.DockerTest.buildImage