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

WIP: adding OCI output mode as buildctl does #621

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

h4l0gen
Copy link

@h4l0gen h4l0gen commented May 13, 2024

Describe the changes in this pull request using active verbs such as Add, Remove, Replace ...
This PR has one little issue it is WIP. I am resolving it by discussion with the maintainers
Closes #604

Copy link

codecov bot commented May 13, 2024

Codecov Report

Attention: Patch coverage is 1.92308% with 51 lines in your changes are missing coverage. Please review.

Project coverage is 33.03%. Comparing base (2602d59) to head (bcb53a8).
Report is 63 commits behind head on main.

Files Patch % Lines
pkg/patch/patch.go 0.00% 50 Missing ⚠️
pkg/patch/cmd.go 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #621      +/-   ##
==========================================
+ Coverage   32.51%   33.03%   +0.52%     
==========================================
  Files          17       18       +1     
  Lines        1621     1553      -68     
==========================================
- Hits          527      513      -14     
+ Misses       1062     1007      -55     
- Partials       32       33       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

if outputFormat == "docker" {
solveOpt.Exports = append(solveOpt.Exports, client.ExportEntry{
Type: client.ExporterDocker,
Attrs: map[string]string{
Copy link
Contributor

Choose a reason for hiding this comment

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

Once it is working for OCI output it would also be good to add an integration test for this

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

Successfully merging this pull request may close these issues.

[REQ] Add support for other output modes as buildctl does
2 participants