{"repo":"whoan/docker-build-with-cache-action","free":true,"listed":false,"github":"https://github.com/whoan/docker-build-with-cache-action","clone":"git clone https://github.com/whoan/docker-build-with-cache-action.git","description":":octocat: Build and push docker images caching each stage to reduce build time","language":"Shell","stars":350,"topics":["docker-registry","docker-image","actions","docker","github-actions","github-actions-docker","docker-cache","hacktoberfest"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Docker build-with-cache action This action builds your docker image and caches the stages (supports multi-stage builds) to improve building times in subsequent builds. By default, it pushes the image with all the stages to a registry (needs username and password), but you can disable this feature by setting push image and stages to false . Built-in support for the most known registries: - Docker Hub - AWS ECR (private and public) - GitHub's (old and new registry) - Google Cloud's (currently not under test) :star2: Action supercharged - Docker updated to 24.0.6 - BuildKit is enabled for faster/parallel builds - Cache also works with BuildKit enabled except for old GitHub Docker Registry (docker.pkg.github.com). You can either migrate to ghcr.io or disable BuildKit to use the old registry: - name: Build with DOCKER BUILDKIT disabled for old GitHub Docker Registry uses: whoan/docker-build-with-cache-action@master env: DOCKER BUILDKIT: 0 with: registry: docker.pkg.github.com ... Inputs Required - image name : Image name (e.g. node ). or - compose file : path to Docker Compose file. You will need to configure this action multiple times if you have a compose file which uses more than one registry. :star2: New in v5.10.0: Now you can use overrides for your compose file(s) like this: docker-compose.yml docker-compose.override.yml docker-compose.override2.yml Optional - image tag : Tag(s) of the image. Allows multiple comma-separated tags (e.g. one,another ) (default: latest ). If you","default_branch":null,"files":null,"tree":[],"storefront":"/r/whoan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/whoan/docker-build-with-cache-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}