Avoid any push to become the production image
Maybe, instead of this, we can specify in config.toml a version number for the image instead of latest. Some scheme like
Merge request reports
Activity
What's wrong with pushing to
latest
by default? It may also be confusing that nothing is going to populate thelatest
tag (which is used by docker when you don't specify a tag)Maybe it could just be a suggestion in comment, e.g. "use the following instead to create a docker image tag per branch"? To be used only for users who understand what this means...
This is just to generate this image "gitlabci-docker-builder", not the imagfes it generates for the users.
The reason to do this change is that I was trying a change in another branch (docker-retry) it tried to push to latest, didn't work as script was empty, but having it worked I would have probably took down the runners, they use the latest tag.
mentioned in commit 352520e4