npm install
or docker build
, because we’ll know which files are used by those steps.docker-compose build
would have to use third party actions and push/pull from a registry when using Github Actions.
In comparison, webapp.io has a directive to completely share the state of a build to a subsequent build with the RUN REPEATABLE directive.
This means your team has significantly faster Docker builds at no extra cost, since the runner can share all of its images and build cache from previous builds.
The configuration in webapp.io would look as simple as RUN REPEATABLE docker-compose build --parallel