Skip to content

Commit 9e01f43

Browse files
committed
Bump to v1.10.0
1 parent 55157af commit 9e01f43

File tree

1 file changed

+25
-26
lines changed

1 file changed

+25
-26
lines changed

README.md

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ RUN echo 'my expensive build step'
2727
steps:
2828
- command: echo wow
2929
plugins:
30-
- seek-oss/docker-ecr-cache#v1.9.0
31-
- docker#v3.3.0
30+
- seek-oss/docker-ecr-cache#v1.10.0
31+
- docker#v3.8.0
3232
```
3333
3434
### Caching npm packages
@@ -52,11 +52,11 @@ RUN npm install
5252
steps:
5353
- command: npm test
5454
plugins:
55-
- seek-oss/docker-ecr-cache#v1.9.0:
55+
- seek-oss/docker-ecr-cache#v1.10.0:
5656
cache-on:
5757
- package.json # avoid cache hits on stale lockfiles
5858
- package-lock.json
59-
- docker#v3.3.0:
59+
- docker#v3.8.0:
6060
volumes:
6161
- /workdir/node_modules
6262
```
@@ -67,7 +67,7 @@ The `cache-on` property also supports Bash globbing with `globstar`:
6767
steps:
6868
- command: npm test
6969
plugins:
70-
- seek-oss/docker-ecr-cache#v1.9.0:
70+
- seek-oss/docker-ecr-cache#v1.10.0:
7171
cache-on:
7272
- '**/package.json' # monorepo with multiple manifest files
7373
- yarn.lock
@@ -84,9 +84,9 @@ It's possible to specify the Dockerfile to use by:
8484
steps:
8585
- command: echo wow
8686
plugins:
87-
- seek-oss/docker-ecr-cache#v1.9.0:
87+
- seek-oss/docker-ecr-cache#v1.10.0:
8888
dockerfile: my-dockerfile
89-
- docker#v3.3.0
89+
- docker#v3.8.0
9090
```
9191

9292
Alternatively, Dockerfile can be embedded inline:
@@ -95,15 +95,14 @@ Alternatively, Dockerfile can be embedded inline:
9595
steps:
9696
- command: echo wow
9797
plugins:
98-
- seek-oss/docker-ecr-cache#v1.9.0:
98+
- seek-oss/docker-ecr-cache#v1.10.0:
9999
dockerfile-inline: |
100100
FROM node:16-alpine
101101
WORKDIR /workdir
102102
COPY package.json package-lock.json /workdir
103103
RUN npm install
104104
105-
106-
- docker#v3.3.0
105+
- docker#v3.8.0
107106
```
108107

109108
### Specifying a target step
@@ -120,9 +119,9 @@ stage to run commands against:
120119
steps:
121120
- command: cargo test
122121
plugins:
123-
- seek-oss/docker-ecr-cache#v1.9.0:
122+
- seek-oss/docker-ecr-cache#v1.10.0:
124123
target: build-deps
125-
- docker#v3.3.0
124+
- docker#v3.8.0
126125
```
127126

128127
### Specifying build context
@@ -135,10 +134,10 @@ The `context` property can be used to specify a different path.
135134
steps:
136135
- command: cargo test
137136
plugins:
138-
- seek-oss/docker-ecr-cache#v1.9.0:
137+
- seek-oss/docker-ecr-cache#v1.10.0:
139138
dockerfile: dockerfiles/test/Dockerfile
140139
context: '.'
141-
- docker#v3.3.0
140+
- docker#v3.8.0
142141
```
143142

144143
### Specifying build args
@@ -164,11 +163,11 @@ steps:
164163
env:
165164
ARG_1: wow
166165
plugins:
167-
- seek-oss/docker-ecr-cache#v1.9.0:
166+
- seek-oss/docker-ecr-cache#v1.10.0:
168167
build-args:
169168
- ARG_1
170169
- ARG_2=such
171-
- docker#v3.3.0
170+
- docker#v3.8.0
172171
```
173172

174173
Additional `docker build` arguments be passed via the `additional-build-args` setting:
@@ -179,9 +178,9 @@ steps:
179178
env:
180179
ARG_1: wow
181180
plugins:
182-
- seek-oss/docker-ecr-cache#v1.9.0:
181+
- seek-oss/docker-ecr-cache#v1.10.0:
183182
additional-build-args: '--ssh= default=\$SSH_AUTH_SOCK'
184-
- docker#v3.3.0
183+
- docker#v3.8.0
185184
```
186185

187186
### Specifying secrets
@@ -207,10 +206,10 @@ steps:
207206
env:
208207
SECRET: wow
209208
plugins:
210-
- seek-oss/docker-ecr-cache#v1.9.0:
209+
- seek-oss/docker-ecr-cache#v1.10.0:
211210
secrets:
212211
- SECRET
213-
- docker#v3.3.0
212+
- docker#v3.8.0
214213
```
215214

216215
You must have a recent version of Docker with BuildKit enabled to use secrets.
@@ -225,9 +224,9 @@ By default images are kept in ECR for up to 30 days. This can be changed by spec
225224
steps:
226225
- command: echo wow
227226
plugins:
228-
- seek-oss/docker-ecr-cache#v1.9.0:
227+
- seek-oss/docker-ecr-cache#v1.10.0:
229228
max-age-days: 7
230-
- docker#v3.3.0
229+
- docker#v3.8.0
231230
```
232231

233232
### Changing the name of exported variable
@@ -238,7 +237,7 @@ By default image name and computed tag are exported to the Docker buildkite plug
238237
steps:
239238
- command: echo wow
240239
plugins:
241-
- seek-oss/docker-ecr-cache#v1.9.0:
240+
- seek-oss/docker-ecr-cache#v1.10.0:
242241
export-env-variable: BUILDKITE_PLUGIN_MY_CUSTOM_PLUGIN_CACHE_IMAGE
243242
- my-custom-plugin#v1.0.0:
244243
```
@@ -255,12 +254,12 @@ optionally use a custom repository name:
255254
steps:
256255
- command: echo wow
257256
plugins:
258-
- seek-oss/docker-ecr-cache#v1.9.0:
257+
- seek-oss/docker-ecr-cache#v1.10.0:
259258
ecr-name: my-unique-repository-name
260259
ecr-tags:
261260
Key: Value
262261
Key2: Value2
263-
- docker#v3.3.0
262+
- docker#v3.8.0
264263
```
265264

266265
#### Required permissions
@@ -300,7 +299,7 @@ Example:
300299
```yaml
301300
- command: echo wow
302301
plugins:
303-
- seek-oss/docker-ecr-cache#v1.9.0:
302+
- seek-oss/docker-ecr-cache#v1.10.0:
304303
registry-provider: gcr
305304
gcp-project: foo-bar-123456
306305
```

0 commit comments

Comments
 (0)