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 — check provenance attestation set in bake definition before overriding by crazy-max · Pull Request #359 · docker/bake-action

Conversation

@crazy-max

@crazy-max crazy-max commented Nov 26, 2025 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

fixes #349

cc @marverix

Sorry, something went wrong.

Uh oh!

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

marverix and austindrenski reacted with heart emoji
All reactions
  • ❤️ 2 reactions
@github-actions github-actions Bot assigned crazy-max Nov 26, 2025
@crazy-max
crazy-max force-pushed the check-attest-definition branch 3 times, most recently from 0d03cad to 03efd0a Compare November 26, 2025 11:24
crazy-max added 2 commits November 26, 2025 12:30
@crazy-max
check provenance attestation set in bake definition before overriding
8ba51ac
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
chore: update generated content
597dc07
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
crazy-max force-pushed the check-attest-definition branch from 03efd0a to 597dc07 Compare November 26, 2025 11:30
crazy-max
crazy-max commented Nov 26, 2025
View reviewed changes
Comment thread test/attest/docker-bake.hcl
Comment on lines +1 to +17
group "default" {
targets = ["t1", "t2", "t3"]
}

target "t1" {
target = "t1"
}

target "t2" {
target = "t2"
attest = ["type=provenance,mode=min"]
}

target "t3" {
target = "t3"
attest = ["type=sbom"]
}

@crazy-max crazy-max Nov 26, 2025

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.

Tested in https://github.com/docker/bake-action/actions/runs/19702226697/job/56441006449#step:4:234

  {
    "group": {
      "default": {
        "targets": [
          "t1",
          "t2",
          "t3"
        ]
      }
    },
    "target": {
      "t1": {
        "attest": [
          {
            "builder-id": "https://github.com/docker/bake-action/actions/runs/19702226697/attempts/1",
            "mode": "max",
            "type": "provenance"
          }
        ],
        "context": ".",
        "dockerfile": "Dockerfile",
        "target": "t1"
      },
      "t2": {
        "attest": [
          {
            "mode": "min",
            "type": "provenance"
          }
        ],
        "context": ".",
        "dockerfile": "Dockerfile",
        "target": "t2"
      },
      "t3": {
        "attest": [
          {
            "type": "sbom"
          },
          {
            "builder-id": "https://github.com/docker/bake-action/actions/runs/19702226697/attempts/1",
            "mode": "max",
            "type": "provenance"
          }
        ],
        "context": ".",
        "dockerfile": "Dockerfile",
        "target": "t3"
      }
    }
  }

Sorry, something went wrong.

Uh oh!

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

All reactions
@crazy-max
crazy-max requested a review from tonistiigi November 26, 2025 11:33
@crazy-max
crazy-max marked this pull request as ready for review November 26, 2025 11:33
tonistiigi
tonistiigi approved these changes Nov 27, 2025
View reviewed changes
@crazy-max
crazy-max merged commit d14785b into docker:master Nov 27, 2025
@crazy-max
crazy-max deleted the check-attest-definition branch November 27, 2025 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@tonistiigi tonistiigi tonistiigi approved these changes

Uh oh!

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

Assignees

@crazy-max crazy-max

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

bake-action adds provenance mode=min even if in docker-bake file provenance is set to max

Uh oh!

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

2 participants

@crazy-max @tonistiigi
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.