Releases: seek-oss/docker-ecr-cache-buildkite-plugin
v2.2.1
What's Changed
-
Set build
--progress
toplain
(#53)Exported build logs should no longer be cluttered with TTY progress.
-
Include
--additional-build-args
in checksum (#54)Varying
additional-build-args
should no longer pull an incorrect cached image.
Full Changelog: v2.2.0...v2.2.1
v2.2.0
What's Changed
- Add support to cache on specific json keys by @samchungy in #51
steps:
- command: pnpm test
plugins:
- seek-oss/docker-ecr-cache#v2.2.0:
cache-on:
- .npmrc
- package.json#.dependencies
- package.json#.devDependencies
- package.json#.packageManager
- package.json#.pnpm.overrides
- pnpm-lock.yaml
- docker#v5.10.0:
volumes:
- /workdir/node_modules
See the README section for more details.
Full Changelog: v2.1.1...v2.2.0
v2.1.1
v2.1.0
- Add
skip-pull-from-cache
option (#47, @samchungy)
steps:
- label: Build Cache
command: ':'
plugins:
- seek-oss/docker-ecr-cache#v2.1.0:
skip-pull-from-cache: true
See the README section for more details.
v2.0.0
- Add support for AWS CLI v2
- Remove deprecated
aws ecr get-login
command in favour ofaws ecr get-login-password
- Support setting the region for ECR
steps:
- command: echo wow
plugins:
- seek-oss/docker-ecr-cache#v2.0.0:
region: ap-southeast-2
See the README section for more details.
Note: This release requires AWS CLI v1.17.10 or later installed on your agent
v1.11.0
-
Export cached image and tag as environment variables (#38)
Subsequent commands and plugins in the same build step can now reference the cached image and tag via exported
BUILDKITE_PLUGIN_DOCKER_ECR_CACHE_EXPORT_IMAGE
andBUILDKITE_PLUGIN_DOCKER_ECR_CACHE_EXPORT_TAG
environment variables. See the README section for more details.
v1.10.0
-
Support build secrets (#36, #37, @koterpillar, @72636c)
steps: - command: echo wow plugins: - seek-oss/docker-ecr-cache#v1.10.0: secrets: - SECRET_ENV - id=npm,src=.npmrc
See the README section for more details.
-
Support inline Dockerfiles (#35, @koterpillar)
steps: - command: echo wow plugins: - seek-oss/docker-ecr-cache#v1.10.0: dockerfile-inline: | FROM node:16-alpine WORKDIR /workdir COPY package.json package-lock.json /workdir RUN npm install
v1.9.0
v1.8.0
-
Support Google Container Registry (#26, @petemounce)
steps: - command: echo wow plugins: - seek-oss/docker-ecr-cache#v1.8.0: registry-provider: gcr gcp-project: foo-bar-123456
See the README section for more details.