[#_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 | The address of the project’s Container Registry.   | $CI_REGISTRY
| CONTAINER_REGISTRY_USER | the user that should be used  | $CI_REGISTRY_USER
| CONTAINER_REGISTRY_PASSWORD | the password for the remote registry  | $CI_REGISTRY_PASSWORD
| EXTRA_PATH | Extra path that should be between the registry path and the image tag. Has to start with a "/" | ""
| IMAGE_TAG | the Tag the image should be found on | Depends on the current path. Look at the rules of the Job.
|===

:template: container/container-publish.gitlab-ci.yml
include::../../../template-printer.adoc[]