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 — preserve quotes for set input fields by crazy-max · Pull Request #97 · docker/bake-action

Conversation

@crazy-max

@crazy-max crazy-max commented Oct 19, 2022 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

follow-up docker/setup-buildx-action#175

There are cases where quotes need to be used for multi values fields like name for image type output:

set: |
  *.output=type=image,"name=moby/buildkit:v0.11.0,moby/buildkit:latest",push=true

Currently it would fail with: https://github.com/crazy-max/buildkit/actions/runs/3275927287/jobs/5391622084#step:7:122

  /usr/bin/docker buildx bake --set *.cache-from=type=gha,scope=cross --set *.cache-from=type=gha,scope=image --set *.cache-to=type=gha,scope=image --set *.output=type=image,name=***/buildkit:v0.11.0,***/buildkit:latest,buildinfo-attrs=true,push=true --set *.tags= --metadata-file /tmp/docker-build-push-1iSyRZ/metadata-file image-all --print
  ERROR: invalid value ***/buildkit:latest

Signed-off-by: CrazyMax [email protected]

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 fix-set-input branch 2 times, most recently from ae45b6a to f22eb39 Compare October 19, 2022 14:34
@crazy-max crazy-max mentioned this pull request Apr 17, 2023
test: check preserved quotes for set input #128
Closed
@crazy-max
crazy-max force-pushed the fix-set-input branch 3 times, most recently from c14678c to 78ccefc Compare April 17, 2023 08:11
crazy-max added 2 commits April 17, 2023 10:49
@crazy-max
preserve quotes for set input field
4d50b5c
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
update generated content
79237ba
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
crazy-max force-pushed the fix-set-input branch from 78ccefc to 79237ba Compare April 17, 2023 08:49
@crazy-max
crazy-max requested a review from jedevc April 17, 2023 08:51
@crazy-max
crazy-max marked this pull request as ready for review April 17, 2023 08:52
jedevc
jedevc approved these changes Apr 17, 2023
View reviewed changes
@crazy-max
crazy-max merged commit 39f20cb into docker:master Apr 17, 2023
@crazy-max
crazy-max deleted the fix-set-input branch April 17, 2023 12:25
@crazy-max crazy-max mentioned this pull request Jun 9, 2023
fix quotes handling inside a quoted field #141
Closed
@crazy-max crazy-max mentioned this pull request Mar 6, 2024
disable quotes detection for "outputs" input docker/build-push-action#1074
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@jedevc jedevc jedevc approved these changes
Reviewers whose approvals may not affect merge requirements

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 @jedevc
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.