23 lines
882 B
Plaintext
23 lines
882 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_IMAGE | The address of the project’s Container Registry. | $CI_REGISTRY_IMAGE
|
||
| 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 | ""
|
||
| 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[]
|
||
----
|