Skip to content

Commit bea6327

Browse files
committed
Export additional env vars for programmatic usage
1 parent 058047e commit bea6327

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hooks/pre-command

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,7 @@ fi || echo "Not found"
8282

8383
# Support using https://github.com/buildkite-plugins/docker-buildkite-plugin without an image by default
8484
export ${export_env_variable}="${image}:${tag}"
85+
86+
# Support programmatic use of cache image and tag values
87+
export BUILDKITE_PLUGIN_DOCKER_ECR_CACHE_EXPORT_IMAGE="${image}"
88+
export BUILDKITE_PLUGIN_DOCKER_ECR_CACHE_EXPORT_TAG="${tag}"

0 commit comments

Comments
 (0)