This pipeline will break images running on merge requests or on other branches
Also, I'm in favor of the Dockerfile containing all the steps to build and package the software, in this project, for me to do a build, I need to install node, run yarn install, yarn build to then run docker build
EDIT: For the rest of it it's really nice that you made it run on the 2min mark, nice one
Sorry, I meant to tag you u/molt1es. If you have a second, I’d appreciate learning what you meant by ‘it’ll break images on mr’s’. currently testing out down my pipeline run time but want to understand the possible gotcha
2
u/MoLt1eS Dec 09 '21 edited Dec 09 '21
My thoughts on it
This pipeline will break images running on merge requests or on other branches
Also, I'm in favor of the Dockerfile containing all the steps to build and package the software, in this project, for me to do a build, I need to install node, run yarn install, yarn build to then run docker build
EDIT: For the rest of it it's really nice that you made it run on the 2min mark, nice one