33[ ![ GitHub Release] ( https://img.shields.io/github/release/seek-oss/docker-ecr-cache-buildkite-plugin.svg )] ( https://github.com/seek-oss/docker-ecr-cache-buildkite-plugin/releases )
44
55A [ Buildkite plugin] ( https://buildkite.com/docs/agent/v3/plugins ) to cache
6- Docker images in Amazon ECR.
6+ Docker images in Amazon ECR or Google Container Registry .
77
88This allows you to define a Dockerfile for your build-time dependencies without
99worrying about the time it takes to build the image. It allows you to re-use
@@ -27,7 +27,7 @@ RUN echo 'my expensive build step'
2727steps :
2828 - command : echo wow
2929 plugins :
30- - seek-oss/docker-ecr-cache#v1.8 .0
30+ - seek-oss/docker-ecr-cache#v1.9 .0
3131 - docker#v3.3.0
3232` ` `
3333
@@ -52,7 +52,7 @@ RUN npm install
5252steps:
5353 - command: npm test
5454 plugins:
55- - seek-oss/docker-ecr-cache#v1.8 .0:
55+ - seek-oss/docker-ecr-cache#v1.9 .0:
5656 cache-on:
5757 - package-lock.json
5858 - docker#v3.3.0:
@@ -66,7 +66,7 @@ The `cache-on` property also supports Bash globbing with `globstar`:
6666steps:
6767 - command: npm test
6868 plugins:
69- - seek-oss/docker-ecr-cache#v1.8 .0:
69+ - seek-oss/docker-ecr-cache#v1.9 .0:
7070 cache-on:
7171 - '**/package.json' # monorepo with multiple manifest files
7272 - yarn.lock
@@ -83,7 +83,7 @@ It's possible to specify the Dockerfile to use by:
8383steps:
8484 - command: echo wow
8585 plugins:
86- - seek-oss/docker-ecr-cache#v1.8 .0:
86+ - seek-oss/docker-ecr-cache#v1.9 .0:
8787 dockerfile: my-dockerfile
8888 - docker#v3.3.0
8989` ` `
@@ -102,7 +102,7 @@ stage to run commands against:
102102steps:
103103 - command: cargo test
104104 plugins:
105- - seek-oss/docker-ecr-cache#v1.8 .0:
105+ - seek-oss/docker-ecr-cache#v1.9 .0:
106106 target: build-deps
107107 - docker#v3.3.0
108108` ` `
@@ -117,7 +117,7 @@ The `context` property can be used to specify a different path.
117117steps:
118118 - command: cargo test
119119 plugins:
120- - seek-oss/docker-ecr-cache#v1.8 .0:
120+ - seek-oss/docker-ecr-cache#v1.9 .0:
121121 dockerfile: dockerfiles/test/Dockerfile
122122 context: '.'
123123 - docker#v3.3.0
@@ -146,7 +146,7 @@ steps:
146146 env:
147147 ARG_1: wow
148148 plugins:
149- - seek-oss/docker-ecr-cache#v1.8 .0:
149+ - seek-oss/docker-ecr-cache#v1.9 .0:
150150 build-args:
151151 - ARG_1
152152 - ARG_2=such
@@ -161,7 +161,7 @@ steps:
161161 env:
162162 ARG_1: wow
163163 plugins:
164- - seek-oss/docker-ecr-cache#v1.8 .0:
164+ - seek-oss/docker-ecr-cache#v1.9 .0:
165165 additional-build-args: '--ssh= default=\$ SSH_AUTH_SOCK'
166166 - docker#v3.3.0
167167` ` `
@@ -174,7 +174,7 @@ By default images are kept in ECR for up to 30 days. This can be changed by spec
174174steps:
175175 - command: echo wow
176176 plugins:
177- - seek-oss/docker-ecr-cache#v1.8 .0:
177+ - seek-oss/docker-ecr-cache#v1.9 .0:
178178 max-age-days: 7
179179 - docker#v3.3.0
180180` ` `
@@ -187,7 +187,7 @@ By default image name and computed tag are exported to the Docker buildkite plug
187187steps:
188188 - command: echo wow
189189 plugins:
190- - seek-oss/docker-ecr-cache#v1.8 .0:
190+ - seek-oss/docker-ecr-cache#v1.9 .0:
191191 export-env-variable: BUILDKITE_PLUGIN_MY_CUSTOM_PLUGIN_CACHE_IMAGE
192192 - my-custom-plugin#v1.0.0:
193193` ` `
@@ -204,7 +204,7 @@ optionally use a custom repository name:
204204steps:
205205 - command: echo wow
206206 plugins:
207- - seek-oss/docker-ecr-cache#v1.8 .0:
207+ - seek-oss/docker-ecr-cache#v1.9 .0:
208208 ecr-name: my-unique-repository-name
209209 ecr-tags:
210210 Key: Value
@@ -221,7 +221,7 @@ Example:
221221` ` ` yaml
222222- command: echo wow
223223 plugins:
224- - seek-oss/docker-ecr-cache#v1.8 .0:
224+ - seek-oss/docker-ecr-cache#v1.9 .0:
225225 registry-provider: gcr
226226 gcp-project: foo-bar-123456
227227` ` `
0 commit comments