@@ -7,7 +7,7 @@ This is an example [Next.js](https://nextjs.org/) project with a GitLab CI/CD pi
- builds a Docker image for deployment
- pushes the Docker image to the [GitLab Container Registry](https://docs.gitlab.com/ee/user/packages/container_registry/)
In an effort to improve speed, it uses a GitLab [directed acyclic graph pipeline](https://docs.gitlab.com/ee/ci/directed_acyclic_graph/index.html) and [Docker multi-stage builds](https://docs.docker.com/develop/develop-images/multistage-build/).
In an effort to improve speed, it uses a GitLab [directed acyclic graph pipeline](https://docs.gitlab.com/ee/ci/directed_acyclic_graph/index.html) and [Docker multi-stage builds](https://docs.docker.com/develop/develop-images/multistage-build/). It also uses [Docker BuildKit](https://docs.docker.com/develop/develop-images/build_enhancements/) to make caching easier. (With BuildKit, cached layers will be automatically pulled when needed. Without BuildKit, images used for caching need to be explicitly pulled.)
## Usage
...
...
@@ -20,3 +20,4 @@ In an effort to improve speed, it uses a GitLab [directed acyclic graph pipeline