Docker Ecr Cache Buildkite Plugin Versions Save

Zero config plugin for caching Docker images in Amazon ECR or Google Container Registry

v1.5.0

4 years ago
  • Support globbing in cache-on property (#20)

    seek-oss/docker-ecr-cache#v1.5.0:
      cache-on:
        - '**/package.json'
        - 'important/**.*'
    

v1.4.0

4 years ago
  • Support additional-build-args for passing arguments to docker build #18

v1.3.0

5 years ago
  • Remove 10 image ECR limit and instead rely on expiry #15

v1.2.0

5 years ago
  • Expires images after 30 days (configurable) #14

v1.1.6

5 years ago

New:

#11 Use subdirectory (if any) of the Dockerfile as the build context

This is a backward incompatible change that will break COPY commands that are currently specified relative to the repo root, rather than the Dockerfile subdirectory.

v1.1.5

5 years ago

Fixed:

  • #10 Ignore errors when setting ECR lifecycle policy

    The lifecycle policy is just a nice-to-have, so we shouldn't blow up builds if it can't be set. This allows the plugin to continue functioning on agents that lack ecr:PutLifecyclePolicy.

v1.1.4

5 years ago

New:

  • #9 Apply lifecycle policy that limits ECR repository to 10 images
  • #9 Document ecr-name property and caching implementation

Related issues: #7, #8

v1.1.3

5 years ago

Includes: #6

  • Added build-args property to pass build-time variables:

    build-args: NPM_TOKEN
    
  • Updated cache-on property to support strings:

    cache-on: one-file-only
    ---
    cache-on:
      - file-1
      - file-2
    
  • Fixed plugin failures when target property was omitted (v1.1.2)

v1.1.2

5 years ago
  • Push latest tag in addition to checksum tag (#5)

v1.1.1

5 years ago
  • Avoid crashing if the docker target isn't specified #4