https://github.com/pbrisbin/docker-build-cached-orb
Build a docker image, with target caching, on Circle CI
https://github.com/pbrisbin/docker-build-cached-orb
Last synced: 4 months ago
JSON representation
Build a docker image, with target caching, on Circle CI
- Host: GitHub
- URL: https://github.com/pbrisbin/docker-build-cached-orb
- Owner: pbrisbin
- License: mit
- Created: 2020-05-25T18:56:13.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-27T13:34:49.000Z (about 5 years ago)
- Last Synced: 2025-01-03T16:30:03.788Z (5 months ago)
- Language: Makefile
- Homepage: https://circleci.com/orbs/registry/orb/pbrisbin/docker-build-cached
- Size: 18.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker Build Cached Orb [](https://circleci.com/gh/pbrisbin/docker-build-cached-orb)
Build a docker image, handling caching of possibly multi-stage images, and
release a final image tagged for the built SHA.## Usage
```yaml
version: 2.1orbs:
docker-build-cached: pbrisbin/[email protected]workflows:
build_and_release:
jobs:
- docker-build-cached/build-and-release:
registry-username: DOCKERHUB_USERNAME
registry-password: DOCKERHUB_PASSWORD
image: foo/bar
build-stages: builder
extra-build-arguments: '--build-arg "REVISION=$CIRCLE_SHA1"'
```See [all examples](./src/examples/).
---
[LICENSE](./LICENSE) | [CHANGELOG](./CHANGELOG.md)