...
 
Commits (2)
......@@ -28,6 +28,8 @@ build-branch:
- docker push $CONTAINER_DEV_IMAGE:$IMAGE_SHORTVERSION
only:
- branches
except:
- master
build-tag:
stage: build
......
Python CI Images
================
Build docker images to run our Python CI tests.
You can find the available images in the [container registry](https://git.dinotools.org/docker-ci/python/container_registry)
Git tags
--------
Git tags trigger the build of new stable images.
The tags have to be named like ```short-version_version```.
The short version is only used to tag the image.
The specified version string is passed to [pyenv](https://github.com/pyenv/pyenv) to build a new [Python](https://www.python.org/) version.
**Example**:
The tag ```3.5_3.5.7``` will build a new docker image with Python 3.5.7 and tag the image like ...
* registry.dinotools.org/docker-ci/python:3.5
* registry.dinotools.org/docker-ci/python:3.5.7
Git branches
------------
To test new settings or build options the branches have to be named like tags.
But it adds a ```dev``` to the package name.
**Example**:
The branch ```3.5_3.5.7``` will build a new docker image with Python 3.5.7 and tag the image like ...
* registry.dinotools.org/docker-ci/python/dev:3.5
* registry.dinotools.org/docker-ci/python/dev:3.5.7