Description
There is the proposal about the new release policy. In short: x.y.z
docker tags become frozen.
The old process was quite simple: rebuild everything and push to Docker Hub. Now the process assumes pushing of a certain tag. When it is performed manually, it is easy to make a mistake (docker files are parametrized and you should choose correct parameters for each image). Let's automate the process of deployment to Docker Hub.
I propose to use a git tag (x.y.z
or, say, x.y.z-r1
) in this repository (tarantool/docker) to trigger deploy to Docker Hub under x.y.z
or x.y.z-r1
docker tag (and update the corresponding rolling version tags, see the new release policy). We can push several tags that are point to the same commit.
As result we can easily find from which tarantool/docker commit a certain docker image tag was built. It is good for reproducibility and to understand what exactly is deployed to Docker Hub.
NB: What is better to do with 1.x-centos7
and 2.x-centos7
, where we have no fixed versions?
Further idea from @avtikhon: When a tag is pushed to tarantool/tarantool repository, a CI job can push a git tag to tarantool/docker repository automatically.