You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ci/lib-inject): pin buildx [backport #5496 to 1.11] (#5511)
v0.10 of buildx by default creates images which aren't compatible with
gcr/aws lambda: https://github.com/docker/buildx/releases/tag/v0.10.0.
This was causing the publish for the lib-injection images to fail when
pushed to gcr:
```
2023/04/06 21:22:10 Failed to publish image, err: publish failed for registry id: gcr-datadoghq, err: PUT https://gcr.io/v2/datadoghq/dd-lib-python-init/manifests/v1.11.1: MANIFEST_INVALID: Failed to parse manifest for request "/v2/datadoghq/dd-lib-python-init/manifests/v1.11.1": Failed to deserialize application/vnd.docker.distribution.manifest.list.v2+json.
```
Pin buildx to v0.9.1, the version prior to avoid this issue.
## Testing
The fix was validated by rebuilding `v1.11.1` with buildx v0.9.1 and
retrying the `build-images` job which succeeded.
## Risk
This change pins the version for all builds that we do but given that
v0.9.1 isn't that old it's probably a good thing to have it pinned
anyway for deterministic building and publishing.
0 commit comments