Skip to content

Commit

Permalink
Bump to v1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
72636c committed Oct 9, 2019
1 parent b826eea commit 0c5bf4d
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions README.md
Expand Up @@ -27,8 +27,8 @@ RUN echo "my expensive build step"
steps:
- command: 'echo wow'
plugins:
- seek-oss/docker-ecr-cache#v1.4.0
- docker#v3.0.1
- seek-oss/docker-ecr-cache#v1.5.0
- docker#v3.3.0
```

### Caching npm packages
Expand All @@ -52,10 +52,10 @@ RUN npm install
steps:
- command: 'npm test'
plugins:
- seek-oss/docker-ecr-cache#v1.4.0:
- seek-oss/docker-ecr-cache#v1.5.0:
cache-on:
- package-lock.json
- docker#v3.0.1:
- docker#v3.3.0:
volumes:
- /workdir/node_modules
```
Expand Down Expand Up @@ -83,9 +83,9 @@ It's possible to specify the Dockerfile to use by:
steps:
- command: 'echo wow'
plugins:
- seek-oss/docker-ecr-cache#v1.4.0:
- seek-oss/docker-ecr-cache#v1.5.0:
dockerfile: my-dockerfile
- docker#v3.0.1
- docker#v3.3.0
```

The subdirectory containing the Dockerfile is the path used for the build's context.
Expand All @@ -104,9 +104,9 @@ stage to run commands against:
steps:
- command: 'cargo test'
plugins:
- seek-oss/docker-ecr-cache#v1.4.0:
- seek-oss/docker-ecr-cache#v1.5.0:
target: build-deps
- docker#v3.0.1
- docker#v3.3.0
```

### Specifying build args
Expand All @@ -132,11 +132,11 @@ steps:
env:
ARG_1: wow
plugins:
- seek-oss/docker-ecr-cache#v1.4.0:
- seek-oss/docker-ecr-cache#v1.5.0:
build-args:
- ARG_1
- ARG_2=such
- docker#v3.0.1
- docker#v3.3.0
```

Additional `docker build` arguments be passed via the `additional-build-args` setting:
Expand All @@ -147,9 +147,9 @@ steps:
env:
ARG_1: wow
plugins:
- seek-oss/docker-ecr-cache#v1.4.0:
- seek-oss/docker-ecr-cache#v1.5.0:
additional-build-args: '--ssh= default=\$SSH_AUTH_SOCK'
- docker#v3.0.1
- docker#v3.3.0
```

### Specifying an ECR repository name
Expand All @@ -162,9 +162,9 @@ optionally use a custom repository name:
steps:
- command: 'echo wow'
plugins:
- seek-oss/docker-ecr-cache#v1.4.0:
- seek-oss/docker-ecr-cache#v1.5.0:
ecr-name: my-unique-repository-name
- docker#v3.0.1
- docker#v3.3.0
```

### Changing the max cache time
Expand All @@ -175,9 +175,9 @@ 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#v1.4.0:
- seek-oss/docker-ecr-cache#v1.5.0:
max-age-days: 7
- docker#v3.0.1
- docker#v3.3.0
```

## Design
Expand Down

0 comments on commit 0c5bf4d

Please sign in to comment.