-
Notifications
You must be signed in to change notification settings - Fork 0
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 "leafactor-ci:latest" "repo.treescale.com/OWNER/REGISTRY:latest" || { echo 'Image tag failed' ; exit 1; }
docker push "repo.treescale.com/OWNER/REGISTRY:latest" || { echo 'Image push failed' ; exit 1; }