Skip to content

Commit

Permalink
bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
samchungy committed Apr 4, 2024
1 parent 3954185 commit a9af54c
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN echo 'my expensive build step'
steps:
- command: echo wow
plugins:
- seek-oss/docker-ecr-cache#v2.1.1
- seek-oss/docker-ecr-cache#v2.2.0
- docker#v3.12.0
```
Expand All @@ -52,7 +52,7 @@ RUN npm install
steps:
- command: npm test
plugins:
- seek-oss/docker-ecr-cache#v2.1.1:
- seek-oss/docker-ecr-cache#v2.2.0:
cache-on:
- package.json # avoid cache hits on stale lockfiles
- package-lock.json
Expand All @@ -67,7 +67,7 @@ The `cache-on` property also supports Bash globbing with `globstar`:
steps:
- command: npm test
plugins:
- seek-oss/docker-ecr-cache#v2.1.1:
- seek-oss/docker-ecr-cache#v2.2.0:
cache-on:
- '**/package.json' # monorepo with multiple manifest files
- yarn.lock
Expand All @@ -82,7 +82,7 @@ It also supports caching on specific JSON keys which can be specified after a `#
steps:
- command: npm test
plugins:
- seek-oss/docker-ecr-cache#v2.1.1:
- seek-oss/docker-ecr-cache#v2.2.0:
cache-on:
- package.json#.dependencies
- package.json#.devDependencies
Expand All @@ -101,7 +101,7 @@ It's possible to specify the Dockerfile to use by:
steps:
- command: echo wow
plugins:
- seek-oss/docker-ecr-cache#v2.1.1:
- seek-oss/docker-ecr-cache#v2.2.0:
dockerfile: my-dockerfile
- docker#v3.12.0
```
Expand All @@ -112,7 +112,7 @@ Alternatively, Dockerfile can be embedded inline:
steps:
- command: echo wow
plugins:
- seek-oss/docker-ecr-cache#v2.1.1:
- seek-oss/docker-ecr-cache#v2.2.0:
dockerfile-inline: |
FROM node:16-alpine
WORKDIR /workdir
Expand Down Expand Up @@ -141,7 +141,7 @@ steps:
--build-arg BUILDKITE_PLUGIN_DOCKER_ECR_CACHE_EXPORT_TAG
--file Dockerfile.secondary
plugins:
- seek-oss/docker-ecr-cache#v2.1.1
- seek-oss/docker-ecr-cache#v2.2.0
```

Your `Dockerfile.secondary` can then [dynamically use these args](https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact):
Expand Down Expand Up @@ -169,7 +169,7 @@ stage to run commands against:
steps:
- command: cargo test
plugins:
- seek-oss/docker-ecr-cache#v2.1.1:
- seek-oss/docker-ecr-cache#v2.2.0:
target: build-deps
- docker#v3.12.0
```
Expand All @@ -184,7 +184,7 @@ The `context` property can be used to specify a different path.
steps:
- command: cargo test
plugins:
- seek-oss/docker-ecr-cache#v2.1.1:
- seek-oss/docker-ecr-cache#v2.2.0:
dockerfile: dockerfiles/test/Dockerfile
context: '.'
- docker#v3.12.0
Expand Down Expand Up @@ -213,7 +213,7 @@ steps:
env:
ARG_1: wow
plugins:
- seek-oss/docker-ecr-cache#v2.1.1:
- seek-oss/docker-ecr-cache#v2.2.0:
build-args:
- ARG_1
- ARG_2=such
Expand All @@ -228,7 +228,7 @@ steps:
env:
ARG_1: wow
plugins:
- seek-oss/docker-ecr-cache#v2.1.1:
- seek-oss/docker-ecr-cache#v2.2.0:
additional-build-args: '--ssh= default=\$SSH_AUTH_SOCK'
- docker#v3.12.0
```
Expand Down Expand Up @@ -256,7 +256,7 @@ steps:
env:
SECRET: wow
plugins:
- seek-oss/docker-ecr-cache#v2.1.1:
- seek-oss/docker-ecr-cache#v2.2.0:
secrets:
- SECRET
- docker#v3.12.0
Expand All @@ -272,7 +272,7 @@ steps:
plugins:
- seek-oss/private-npm#v1.2.0:
env: SECRET
- seek-oss/docker-ecr-cache#v2.1.1:
- seek-oss/docker-ecr-cache#v2.2.0:
secrets:
- id=npmrc,src=.npmrc
- docker#v3.12.0
Expand All @@ -290,7 +290,7 @@ By default images are kept in ECR for up to 30 days. This can be changed by spec
steps:
- command: echo wow
plugins:
- seek-oss/docker-ecr-cache#v2.1.1:
- seek-oss/docker-ecr-cache#v2.2.0:
max-age-days: 7
- docker#v3.12.0
```
Expand All @@ -303,7 +303,7 @@ By default, image name and computed tag are exported to the Docker buildkite plu
steps:
- command: echo wow
plugins:
- seek-oss/docker-ecr-cache#v2.1.1:
- seek-oss/docker-ecr-cache#v2.2.0:
export-env-variable: BUILDKITE_PLUGIN_MY_CUSTOM_PLUGIN_CACHE_IMAGE
- my-custom-plugin#v1.0.0:
```
Expand All @@ -317,7 +317,7 @@ steps:
- label: Build Cache
command: ':'
plugins:
- seek-oss/docker-ecr-cache#v2.1.1:
- seek-oss/docker-ecr-cache#v2.2.0:
skip-pull-from-cache: true
```

Expand All @@ -333,7 +333,7 @@ optionally use a custom repository name:
steps:
- command: echo wow
plugins:
- seek-oss/docker-ecr-cache#v2.1.1:
- seek-oss/docker-ecr-cache#v2.2.0:
ecr-name: my-unique-repository-name
ecr-tags:
Key: Value
Expand All @@ -349,7 +349,7 @@ By default, the plugin uses the region specified in the `AWS_DEFAULT_REGION` env
steps:
- command: echo wow
plugins:
- seek-oss/docker-ecr-cache#v2.1.1:
- seek-oss/docker-ecr-cache#v2.2.0:
region: ap-southeast-2
- docker#v3.12.0
```
Expand Down Expand Up @@ -391,7 +391,7 @@ Example:
```yaml
- command: echo wow
plugins:
- seek-oss/docker-ecr-cache#v2.1.1:
- seek-oss/docker-ecr-cache#v2.2.0:
registry-provider: gcr
gcp-project: foo-bar-123456
```
Expand Down

0 comments on commit a9af54c

Please sign in to comment.