Releases: seek-oss/docker-ecr-publish-buildkite-plugin
v2.5.1
Fixes
- Fix race condition on concurrent builds (#33, @johnnorro)
This fixes a race condition when running concurrent builds on the same host. The plugin now uses the build number as the version on the local tag, to prevent an incorrect reference when tagging the images in ECR.
There are no config or property changes.
Contributors
v2.5.0
Features
- Add options to select build driver & cache exports (#31, @activehigh)
You can now select the Docker build driver, and provide optional properties for progress-display and export-cache-metadata.
steps:
- plugins:
- seek-oss/docker-ecr-publish#v2.5.0:
driver: buildkit
progress-output: plain
disable-cache-metadata: true
The plugin defaults to driver: legacy
which is unchanged behaviour from the previous release. The two optional properties are only relevant when driver: buildkit
is specified.
v2.4.0
Features
- Speedup for multiple regions (#27, @BEvgeniyS)
The plugin will now work faster when used with multiple regions, by:
- skipping downloading cache layers from other regions if they are already pulled, and
- pushing images to multiple regions in parallel
There are no config or property changes.
v2.3.0
v2.2.0
Features
-
Save image digest to Buildkite metadata (#25, @athurn)
If you'd like to reference the published image digest in a subsequent pipeline step, you can now make use of the optional
save-digest-as-metadata
property:steps: - plugins: - seek-oss/docker-ecr-publish#v2.2.0: ecr-name: my-repo save-digest-as-metadata: my-metadata-variable
v2.1.0
Features
-
Support disabling
latest
tag on default branch builds (#23, @fridayhut)If you're working with immutable image tags, you can now disable the
latest
tag with theadd-latest-tag
property:steps: - plugins: - seek-oss/docker-ecr-publish#v2.1.0: add-latest-tag: false ecr-name: my-repo
v2.0.1
v2.0.0
Features
-
Support cross-account and cross-region publishing (#20, @HenryCook)
Breaking changes
The plugin now defaults to
eu-west-2
if theAWS_DEFAULT_REGION
environment variable is not set.If you configure the AWS region on your agents through some other method, set the
region
option explicitly:steps: - plugins: - seek-oss/docker-ecr-publish#v2.0.0: region: us-east-1 ecr-name: my-repo