Skip to content

Commit e8ece5f

Browse files
committed
Pass BUILDKITE_BUILD_ID into diff/annotate
This should allow to see, for example, the expected image tag being built to carry over. ```diff - - docker-compose#v4.16.0: + - docker-compose#v5.0.0: build: base config: ".buildkite/docker-compose.yml" env: - PRE_STEPS - RACK - image-name: ruby-3-4-build_id cache-from: - base:973266071021.dkr.ecr.us-east-1.amazonaws.com/builds:ruby-3-4-br-main push: - base:973266071021.dkr.ecr.us-east-1.amazonaws.com/builds:ruby-3-4-br- - image-repository: 973266071021.dkr.ecr.us-east-1.amazonaws.com/builds ``` Notice how the tag is only `ruby-3-4-br-` because the build id was missing from the environment when generating the pipeline.
1 parent e3be689 commit e8ece5f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pipelines/buildkite-config/initial.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ steps:
5757
-v "$$PWD":/app:ro -w /app
5858
-v "$$PWD/tmp":/app/tmp:rw
5959
-e BUNDLE_FROZEN
60+
-e BUILDKITE_BUILD_ID
6061
ruby:latest
6162
./bin/pipeline-annotate
6263
- command: |
@@ -80,6 +81,7 @@ steps:
8081
-v "$$PWD/tmp":/app/tmp:rw
8182
-e RAILS_CI_NIGHTLY
8283
-e BUNDLE_FROZEN
84+
-e BUILDKITE_BUILD_ID
8385
ruby:latest
8486
./bin/pipeline-annotate
8587

0 commit comments

Comments
 (0)