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

chore: disable docker sbom and attestations #2528

Merged
merged 1 commit into from
Jan 20, 2023

Conversation

34fathombelow
Copy link
Member

@34fathombelow 34fathombelow commented Jan 20, 2023

Signed-off-by: Justin Marquis [email protected]

The newer BuildKit v0.11 now enables a provenance attestation by default. These attestations are stored as a manifest object of unknown on unknown attached to the root image index object. "To prevent container runtimes from accidentally pulling or running the image described in the manifest, the platform property of the attestation manifest will be set to unknown/unknown" This prevents our current Sbom generation from working properly.

This PR is a workaround by disabling attestations and sboms by default. These new inputs for the docker build and push action require the newer version of build and push.

Note: I have tested this workaround locally.

@34fathombelow
Copy link
Member Author

@zachaller Not sure how far back you want to cherry pick this.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 20, 2023

Go Published Test Results

1 834 tests   1 834 ✔️  2m 32s ⏱️
   105 suites         0 💤
       1 files           0

Results for commit f48efda.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 20, 2023

E2E Tests Published Test Results

    2 files      2 suites   1h 40m 10s ⏱️
  95 tests   85 ✔️ 3 💤   7
202 runs  185 ✔️ 6 💤 11

For more details on these failures, see this check.

Results for commit f48efda.

♻️ This comment has been updated with latest results.

@sonarcloud
Copy link

sonarcloud bot commented Jan 20, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@codecov
Copy link

codecov bot commented Jan 20, 2023

Codecov Report

Base: 81.69% // Head: 81.69% // No change to project coverage 👍

Coverage data is based on head (f48efda) compared to base (3c2cef9).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2528   +/-   ##
=======================================
  Coverage   81.69%   81.69%           
=======================================
  Files         126      126           
  Lines       19136    19136           
=======================================
  Hits        15634    15634           
  Misses       2709     2709           
  Partials      793      793           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@zachaller zachaller merged commit 1cf2623 into argoproj:master Jan 20, 2023
@34fathombelow 34fathombelow deleted the docker-fix branch January 21, 2023 00:27
zachaller pushed a commit that referenced this pull request Feb 24, 2023
Signed-off-by: Justin Marquis <[email protected]>

Signed-off-by: Justin Marquis <[email protected]>
Signed-off-by: zachaller <[email protected]>
zachaller pushed a commit that referenced this pull request Feb 24, 2023
Signed-off-by: Justin Marquis <[email protected]>

Signed-off-by: Justin Marquis <[email protected]>
@zachaller zachaller added the cherry-pick-completed Used once we have cherry picked the PR to all requested releases label Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick/release-1.3 cherry-pick/release-1.4 cherry-pick-completed Used once we have cherry picked the PR to all requested releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants