Docker Build Error When Using org.opencontainers.image.* Labels

I am using org.opencontainers.image.* labels in my docker file and while building using github actions it kees throwing errors

Actions Log :


There’s a backslash missing at the end of the first line of the LABEL instruction in your Dockerfile. That makes Docker interpret the second label as another instruction instead of as part of a label list, and because org.opencontainers.image.authors is no valid Dockerfile instruction it fails.

1 Like