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

[feat]: [CI-15228]: Embed and load buildkit image in drone buildx #46

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

anurag-harness
Copy link
Collaborator

@anurag-harness anurag-harness commented Nov 27, 2024

In this PR we will first create a tarball for the buildkit image using release.sh before creating the binary. Then in the code we have made changes to load the buildkit.tar and also override the builder opts buildkit image with the version given in drone buildx version.json

This PR also fixes fallback logic of buildkit driver opts

}

// Read the tarball from the embedded filesystem
data, err := buildkitTarball.ReadFile("buildkit/buildkit.tar")
Copy link
Contributor

@jamie-harness jamie-harness Nov 27, 2024

Choose a reason for hiding this comment

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

there should be a file exist check. This file would only exist in container

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants