Skip to content

Conversation

@crazy-max
Copy link
Member

@crazy-max crazy-max commented Jul 5, 2024

follow-up

Implementation introduced in #365 would generate annotations for a specified dockerfile. We forgot cases when a dockerfile can be inline and therefore not part of the repository or also when using a git context that could build another repository. With these changes we make sure warnings are associated with a dockerfile in the working tree before being annotated.

@crazy-max crazy-max force-pushed the build-warnings-localstate branch 5 times, most recently from a956173 to 415ec12 Compare July 5, 2024 09:45
@crazy-max crazy-max changed the title github: convert vertex warnings to annotations based on localstate buildx: convert vertex warnings to github annotations based on localstate Jul 5, 2024
@crazy-max crazy-max force-pushed the build-warnings-localstate branch from 415ec12 to 6b82c1b Compare July 5, 2024 09:55
@crazy-max crazy-max requested a review from tonistiigi July 5, 2024 11:26
@crazy-max crazy-max marked this pull request as ready for review July 5, 2024 11:26
continue;
}

if (ls.DockerfilePath == '-' || ls.DockerfilePath.endsWith('/-')) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ls.DockerfilePath.endsWith('/-') is necessary for Buildx < 0.16.0 related to docker/buildx#2560

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

made a proper fix in #403

@crazy-max crazy-max force-pushed the build-warnings-localstate branch from 6b82c1b to 02ec2ec Compare July 5, 2024 11:30
@crazy-max crazy-max force-pushed the build-warnings-localstate branch 3 times, most recently from 65b7e9a to 8efe5ce Compare July 5, 2024 14:34
@crazy-max crazy-max force-pushed the build-warnings-localstate branch from 8efe5ce to 93f0066 Compare July 15, 2024 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant