teracyhq / docker-files

Teracy docker-files project to build common Docker images
https://hub.docker.com/r/teracy/
MIT License
92 stars 55 forks source link

should docker push only on master branch #6

Closed hoatle closed 7 years ago

hoatle commented 7 years ago
export IMG_TAG=`echo $CI_BUILD_REF_NAME | sed -e 's/[\/]/-/g' | sed -e 's/[\#]//g';`
hoatle commented 7 years ago

we're not going to support this way as we're organizing image-name/image-tag project structure. This fits our project.

So we're going to docker push on master branch only to avoid duplicated builds from other branches.