Skip to content

Publishing to TreeScale

Ricardo Morais edited this page Apr 29, 2019 · 6 revisions

Manually building Leafactor-CI docker image and publishing it to TreeScale is easy. We first start by building the image using the following command:

docker build -t "leafactor-ci" .

The build process will execute and when it finishes a image will be built under the name leafactor-ci. Now we want to publish it to TreeScale, for this we want to tag the image with the latest tag, and push it towards the registry, but first we need to log into the registry:

docker login -u USERNAME -p PASSWORD repo.treescale.com/OWNER/REGISTRY

Now we can assign the latest tag to the image:

docker tag "leafactor-ci:latest" "repo.treescale.com/OWNER/REGISTRY:latest"

Finally we push the image:

docker push "repo.treescale.com/OWNER/REGISTRY:latest"

Clone this wiki locally