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.

docker tag $MODULE_IMAGE_NAME":latest" $MODULE_REPOSITORY_URL":latest" || { echo 'Image tag failed' ; exit 1; }

docker push $MODULE_REPOSITORY_URL":latest" || { echo 'Image push failed' ; exit 1; }

Clone this wiki locally