Sunday 2 April 2017

Get value of package.json in gitLab CI YML

I'm using gitLab CI for my nodejs application. In my YML file I need to call a script to build a docker image

...
docker build -t anything/package:<VERSION>

But how do I get the version value which are needed? In the project files there is a package.json file. There is the version value, but how do I get this?



via user3142695

No comments:

Post a Comment