reactioncommerce / docker-base

Apache License 2.0
4 stars 11 forks source link

chore: docker build and push in same CI job #13

Closed aldeed closed 4 years ago

aldeed commented 4 years ago

CI config is relying on Docker builds from previous job to be available in next job, but this turns out to be not always true. From CircleCI docs:

Every layer built in a previous job will be accessible in the Remote Docker Environment. However, in some cases your job may run in a clean environment, even if the configuration specifies docker_layer_caching: true.

Instead, we'll build and push in the same job for trunk branch only.