Skip to content

Releases: seek-oss/docker-ecr-cache-buildkite-plugin

v2.2.0

09 Apr 01:39
f8e70fb
Compare
Choose a tag to compare

What's Changed

  • Add support to cache on specific json keys by @samchungy in #51
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: v2.1.1...v2.2.0

v2.1.1

22 Dec 05:49
5bac683
Compare
Choose a tag to compare

v2.1.0

18 Sep 04:05
5ede176
Compare
Choose a tag to compare
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

22 Feb 00:21
55c2f53
Compare
Choose a tag to compare
  • 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

07 Jul 22:37
e16bb9b
Compare
Choose a tag to compare
  • 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

07 Jul 05:53
058047e
Compare
Choose a tag to compare
  • 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

09 Jul 01:34
1272d4f
Compare
Choose a tag to compare
  • 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

09 Jul 01:06
9c282bf
Compare
Choose a tag to compare
  • 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

04 May 08:47
8e735da
Compare
Choose a tag to compare

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

v1.6.0

15 Apr 04:46
0c4a2c7
Compare
Choose a tag to compare

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