Docker Ecr Cache Buildkite Plugin Versions Save

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

v2.2.0

1 month ago

What's Changed

steps:
  - command: pnpm test
    plugins:
      - seek-oss/docker-ecr-cache#v2.2.0:
          cache-on:
            - .npmrc
            - package.json#.dependencies
            - package.json#.devDependencies
            - package.json#.packageManager
            - package.json#.pnpm.overrides
            - pnpm-lock.yaml
      - docker#v5.10.0:
          volumes:
            - /workdir/node_modules

See the README section for more details.

Full Changelog: https://github.com/seek-oss/docker-ecr-cache-buildkite-plugin/compare/v2.1.1...v2.2.0

v2.1.1

4 months ago
  • Export missing environment variables when using the skip-pull-from-cache option. (#50, @alexandre-bordiere)

v2.1.0

7 months ago
  • Add skip-pull-from-cache option (#47, @samchungy)
steps:
  - label: Build Cache
    command: ':'
    plugins:
      - seek-oss/docker-ecr-cache#v2.1.0:
          skip-pull-from-cache: true

See the README section for more details.

v2.0.0

2 years ago
  • Add support for AWS CLI v2
  • Remove deprecated aws ecr get-login command in favour of aws ecr get-login-password
  • Support setting the region for ECR
steps:
  - command: echo wow
    plugins:
      - seek-oss/docker-ecr-cache#v2.0.0:
          region: ap-southeast-2

See the README section for more details.

Note: This release requires AWS CLI v1.17.10 or later installed on your agent

v1.11.0

2 years ago
  • Export cached image and tag as environment variables (#38)

    Subsequent commands and plugins in the same build step can now reference the cached image and tag via exported BUILDKITE_PLUGIN_DOCKER_ECR_CACHE_EXPORT_IMAGE and BUILDKITE_PLUGIN_DOCKER_ECR_CACHE_EXPORT_TAG environment variables. See the README section for more details.

v1.10.0

2 years ago
  • Support build secrets (#36, #37, @koterpillar, @72636c)

    steps:
      - command: echo wow
        plugins:
          - seek-oss/docker-ecr-cache#v1.10.0:
              secrets:
                - SECRET_ENV
                - id=npm,src=.npmrc
    

    See the README section for more details.

  • Support inline Dockerfiles (#35, @koterpillar)

    steps:
      - command: echo wow
        plugins:
          - seek-oss/docker-ecr-cache#v1.10.0:
              dockerfile-inline: |
                FROM node:16-alpine
                WORKDIR /workdir
                COPY package.json package-lock.json /workdir
                RUN npm install
    

v1.9.0

3 years ago
  • Support custom build context (#28, @kkolk)

    steps:
      - command: echo wow
        plugins:
          - seek-oss/docker-ecr-cache#v1.9.0:
              dockerfile: dockerfiles/test/Dockerfile
              context: '.'
    

    See the Docker documentation for more information.

v1.8.0

3 years ago
  • Support Google Container Registry (#26, @petemounce)

    steps:
      - command: echo wow
        plugins:
          - seek-oss/docker-ecr-cache#v1.8.0:
              registry-provider: gcr
              gcp-project: foo-bar-123456
    

    See the README section for more details.

v1.7.0

4 years ago

Add support for customising the export variable via export-env-variable per #23

v1.6.0

4 years ago

Support tagging the ECR repository #25

steps:
  - command: 'echo wow'
    plugins:
      - seek-oss/docker-ecr-cache#v1.6.0:
          ecr-name: my-unique-repository-name
          ecr-tags: 
            Key: Value
            Key2: Value2
      - docker#v3.3.0