From 7834229784abceee2fd02bec725ddc16d5a5bc4f Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Wed, 20 May 2026 15:22:56 +0200 Subject: [PATCH] Re-add DOCKER_METADATA_ANNOTATIONS_LEVELS to narrow annotations to the index `docker buildx imagetools create --annotation manifest:KEY=VALUE` errors out with "manifest annotations are not supported yet". metadata-action defaults to emitting `manifest:` prefixed entries, so without an explicit `DOCKER_METADATA_ANNOTATIONS_LEVELS: index` the finalize step blows up the first time it sees a non-empty annotations list. --- .github/workflows/build.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d1121a3c5..1dea54dcb 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -28,6 +28,11 @@ env: SCCACHE_GHA_ENABLED: "true" RUSTC_WRAPPER: "sccache" BUILDCACHE: ghcr.io/element-hq/matrix-authentication-service/buildcache + # metadata-action defaults to `manifest`, which `docker buildx imagetools + # create --annotation` refuses with "manifest annotations are not supported + # yet". We only want annotations on the manifest list anyway, so narrow it + # to `index`. + DOCKER_METADATA_ANNOTATIONS_LEVELS: index jobs: compute-version: