buildx icon indicating copy to clipboard operation
buildx copied to clipboard

DOCKER_CONTENT_TRUST doesn't work when building with BuildKit. If we disable BuildKit, it functions, but we receive a deprecated warning related to the Docker legacy builder

Open Padmavathi126 opened this issue 2 years ago • 1 comments

Description

Hi, it appears that the problem is still unresolved. When using DOCKER_CONTENT_TRUST=1 and DOCKER_BUILDKIT=0, Content Trust is functioning, but we're encountering a 'DEPRECATED' warning. Going forward, the use of the legacy builder is not recommended. How can I ensure the seamless integration of Docker Content Trust in my GitHub workflow without encountering any issues in the future?

image

This issue seems similar to #987. When can we expect a resolution for this issue? Any updates?

Padmavathi126 avatar Nov 21 '23 08:11 Padmavathi126

Hi, any updates? It seems that now we cannot use DOCKER_BUILDKIT=0 anymore

LMantovan avatar Jan 23 '24 10:01 LMantovan

@Padmavathi126 At present this is not planned for buildx.

DOCKER_BUILDKIT=0 is still available but you will not be able to leverage any buildx-specific features in this mode as this uses the legacy builder.

thompson-shaun avatar Aug 22 '24 15:08 thompson-shaun