GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — bake: handle build checks from metadata by crazy-max · Pull Request #389 · docker/actions-toolkit

Conversation

@crazy-max

@crazy-max crazy-max commented Jun 27, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

follow-up

  • github: annotate build warnings #365
  • buildx: convert vertex warnings to github annotations based on localstate #401

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@crazy-max
crazy-max force-pushed the bake-warnings branch 4 times, most recently from b76f020 to 222b4ef Compare June 27, 2024 18:58
@crazy-max
crazy-max force-pushed the bake-warnings branch from 222b4ef to ccc68a5 Compare July 30, 2024 16:43
@crazy-max crazy-max changed the title bake: handle build warnings bake: handle build checks from metadata Jul 30, 2024
crazy-max
crazy-max commented Jul 30, 2024
View reviewed changes
Comment thread __tests__/fixtures/lint.hcl
Comment on lines +15 to +26
group "default" {
targets = ["lint", "lint-other", "lint-inline"]
}
target "lint" {
dockerfile = "lint.Dockerfile"
}
target "lint-other" {
dockerfile = "lint-other.Dockerfile"
}
target "lint-inline" {
dockerfile-inline = "FRoM alpine\nENTRYPOINT [\"echo\", \"hello\"]"
}

@crazy-max crazy-max Jul 30, 2024

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

based on this hcl definition, we can see no annotation are generated for lint-inline target as the dockerfile is inline: https://github.com/docker/actions-toolkit/actions/runs/10166368516/job/28116386475?pr=389#step:10:201

image

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@crazy-max
crazy-max force-pushed the bake-warnings branch 3 times, most recently from ccc68a5 to 47f1b48 Compare July 31, 2024 07:39
@crazy-max
bake: handle build checks from metadata
42e59b7
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
crazy-max force-pushed the bake-warnings branch from 47f1b48 to 42e59b7 Compare July 31, 2024 07:49
@crazy-max
crazy-max marked this pull request as ready for review July 31, 2024 07:52
@crazy-max
crazy-max merged commit a8cf500 into docker:main Jul 31, 2024
@crazy-max
crazy-max deleted the bake-warnings branch July 31, 2024 08:34
@crazy-max crazy-max mentioned this pull request Jul 31, 2024
generate GitHub annotations for build checks docker/bake-action#238
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@crazy-max
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.