Skip to content

Add org.opencontainers.image.base.* annotations automatically#432

Merged
malt3 merged 1 commit intomainfrom
upstream_annotations_base
Mar 20, 2026
Merged

Add org.opencontainers.image.base.* annotations automatically#432
malt3 merged 1 commit intomainfrom
upstream_annotations_base

Conversation

@malt3
Copy link
Copy Markdown
Collaborator

@malt3 malt3 commented Mar 20, 2026

Closes #410

  • org.opencontainers.image.base.name is inferred from PullInfo. Note that this may not be correct in every case. Users may have multiple image_manifest targets that depend on each other. This is a "best effort" feature and the user can override it if necessary.
  • org.opencontainers.image.base.digest is inferred from the digest of the parent manifest

Closes #410

- `org.opencontainers.image.base.name` is inferred from PullInfo.
	Note that this may not be correct in every case.
	Users may have multiple image_manifest targets that depend on each other.
	This is a "best effort" feature and the user can override it if necessary.
- `org.opencontainers.image.base.digest` is inferred from the digest of the parent manifest
@aspect-workflows
Copy link
Copy Markdown

aspect-workflows bot commented Mar 20, 2026

Bazel 9 (Test)

3 test targets passed

Targets
//img/private/release/gazelle_plugin:release_files_test [k8-fastbuild]                 136ms
//tests/img_toolchain:img_toolchain_test [k8-fastbuild]                                785ms
//util:buildifier.check [k8-fastbuild]                                                 2s

Total test execution time was 3s. 18 tests (85.7%) were fully cached saving 11s.


Integration Tests (Test)

16 test targets passed

Targets
//e2e:cc_bazel_7_4_0        2m 39s
//e2e:cc_bazel_8_5_1        2m 42s
//e2e:cc_bazel_9_0_0        2m 50s
//e2e:generic_bazel_7_4_0   55s
//e2e:generic_bazel_8_5_1   57s
//e2e:generic_bazel_9_0_0   55s
//e2e:go_bazel_7_4_0        2m 58s
//e2e:go_bazel_8_5_1        2m 59s
//e2e:go_bazel_9_0_0        3m
//e2e:js_bazel_7_4_0        26s
//e2e:js_bazel_8_5_1        25s
//e2e:js_bazel_9_0_0        25s
//e2e:python_bazel_7_4_0    54s
//e2e:python_bazel_8_5_1    55s
//e2e:python_bazel_9_0_0    58s
//e2e:workspace_bazel_7_4_0 13s

Buildifier

@malt3 malt3 added this pull request to the merge queue Mar 20, 2026
Merged via the queue into main with commit e11c530 Mar 20, 2026
8 checks passed
@malt3 malt3 deleted the upstream_annotations_base branch March 20, 2026 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add org.opencontainers.image.base.* annotations automatically

1 participant