Deployment on CI is currently failing with a cryptic "failed to create LLB definition: only one syntax parser directive can be used" error.
This seems to be caused by having multiple # syntax = docker/dockerfile:experimental pragmas in the Dockerfile when deploying. I verified the solution locally.
Not sure why this surfaced now, but I assume something changed in the Docker backend/registry.
Deployment on CI is currently failing with a cryptic "failed to create LLB definition: only one syntax parser directive can be used" error.
This seems to be caused by having multiple
# syntax = docker/dockerfile:experimental
pragmas in the Dockerfile when deploying. I verified the solution locally.Not sure why this surfaced now, but I assume something changed in the Docker backend/registry.