Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cache(gha): don't require url attr if url_v2 is set #5750

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

crazy-max
Copy link
Member

@crazy-max crazy-max commented Feb 17, 2025

relates to docker/buildx#3001 (comment)

url will always be empty if cache service v2 is detected and url_v2 set.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Copy link
Member

@tonistiigi tonistiigi left a comment

Choose a reason for hiding this comment

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

Buildx should send both url_v2 and url if there is a chance for error (at least temporarily).

@crazy-max
Copy link
Member Author

crazy-max commented Feb 18, 2025

Buildx should send both url_v2 and url if there is a chance for error (at least temporarily).

Yes this is done in https://github.com/docker/buildx/pull/3001/files#diff-6bdb82b27c1a57d6c7f88f01076d5442e642c607508cc1ecc70be32da5735154R229-R233

@crazy-max crazy-max merged commit dae48b3 into moby:master Feb 18, 2025
104 checks passed
@crazy-max crazy-max deleted the fix-gha-cache-v2 branch February 18, 2025 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants