23 lines
852 B
Plaintext
23 lines
852 B
Plaintext
:sourcedir: ../../../../templates
|
|
[#_container_publish]
|
|
= Container Publish
|
|
|
|
Moves a container from the filesystem to a remote repository.
|
|
Needs a build container on the path `image.tar`. Use one of the Container build templates for this.
|
|
|
|
.Variables
|
|
|===
|
|
|Name |Description | Default Value
|
|
| CONTAINER_REGISTRY | Url to the remote Registry | $CI_REGISTRY_IMAGE
|
|
| CONTAINER_REGISTRY_USER | the user that should be used | $CI_REGISTRY_USER
|
|
| CONTAINER_REGISTRY_PASSWORD | the passwort for the remote registry | $CI_REGISTRY_PASSWORD
|
|
| EXTRA_PATH | Extra path that should be between the registry path and the image tag | ""
|
|
| IMAGE_TAG | the Tag the image should be found on | Depends on the current path. Look at the rules of the Job.
|
|
|===
|
|
|
|
.container-publish
|
|
[source,yaml]
|
|
----
|
|
include::{sourcedir}/container/container-publish.gitlab-ci.yml[]
|
|
----
|