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 — git context support by crazy-max · Pull Request #181 · docker/bake-action

Conversation

@crazy-max

@crazy-max crazy-max commented Dec 19, 2023 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

As discussed with @tonistiigi, we should support building from the default git context to have a better traceability of the build. This doesn't automatically set (yet) the GIT_AUTH_TOKEN like the build-push-action does: https://github.com/docker/build-push-action/#git-context

This is currently not the default behavior like build-push-action, to let user test this feature in their workflow but will be on next major release of this action.

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 December 19, 2023 12:57
@crazy-max
crazy-max force-pushed the git-context branch 3 times, most recently from a172b52 to cebbe70 Compare December 19, 2023 13:12
@crazy-max crazy-max mentioned this pull request Dec 19, 2023
ci: use git context docker/buildkit-syft-scanner#90
Merged
@crazy-max
crazy-max force-pushed the git-context branch from cebbe70 to 5bb03f9 Compare December 19, 2023 13:26
tonistiigi
tonistiigi reviewed Dec 19, 2023
View reviewed changes
Comment thread README.md Resolved

Uh oh!

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

tonistiigi
tonistiigi reviewed Dec 19, 2023
View reviewed changes
Comment thread README.md Resolved

Uh oh!

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

@crazy-max
crazy-max force-pushed the git-context branch 4 times, most recently from ac98cef to b8b648a Compare December 20, 2023 13:13
@crazy-max crazy-max mentioned this pull request Dec 20, 2023
bake: set cwd:// prefix for bake files path docker/metadata-action#370
Merged
@crazy-max
crazy-max force-pushed the git-context branch from b8b648a to d02fe14 Compare January 5, 2024 15:46
@crazy-max

crazy-max commented Jan 5, 2024

Copy link
Copy Markdown
Member Author

@tonistiigi As discussed this is now opt-in and will open a new PR to make it opt-out like the build-push-action does and create a major release.

All reactions

Sorry, something went wrong.

Uh oh!

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

@crazy-max
crazy-max requested a review from tonistiigi January 5, 2024 15:48
@crazy-max
crazy-max force-pushed the git-context branch 2 times, most recently from 679a384 to c6c63bf Compare January 12, 2024 16:49
@crazy-max crazy-max mentioned this pull request Jan 31, 2024
don't set cwd:// prefix for local bake files docker/metadata-action#382
Merged
@crazy-max
readme: move subactions docs
dd824dd
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
crazy-max force-pushed the git-context branch from c6c63bf to dad8789 Compare March 1, 2024 08:23
crazy-max added 2 commits March 1, 2024 09:25
@crazy-max
git context support
27bea13
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
chore: update generated content
5adcaf6
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
crazy-max force-pushed the git-context branch from dad8789 to 5adcaf6 Compare March 1, 2024 08:25
tonistiigi
tonistiigi approved these changes Mar 11, 2024
View reviewed changes
@tonistiigi
tonistiigi merged commit 2930c78 into docker:master Mar 11, 2024
@crazy-max
crazy-max deleted the git-context branch March 12, 2024 06:45
This was referenced Mar 12, 2024
default to git context #193
Merged
docs: using bake with remote and local metadata definition docker/metadata-action#395
Merged
@crazy-max crazy-max mentioned this pull request Dec 5, 2025
merge workdir into source input #365
Merged
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

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.

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.