Improve on gitlab ci/cd script
- [x] define environments for `staging` (aka `develop`) similarly to `dev` - [x] checking the rules because some of them does not make sense anymore (like: `$CI_COMMIT_REF_NAME =~ /^dev-.*$/`) - [ ] checking the way how initialisation of submodules works - [x] get rid of docker login waning (`echo $CI_BUILD_TOKEN | docker login --username foo --password-stdin`) - [x] cleanup (eg. using `before_script` more often) - [ ] regularly rebuild the image from scratch to avoid issues like #937 (--no-cache)
issue