Skip to content

fix: unblock image build with Microsoft Go 1.26 systemcrypto#305

Merged
Fei-Guo merged 1 commit into
mainfrom
fix-dockerfile-error
Jun 17, 2026
Merged

fix: unblock image build with Microsoft Go 1.26 systemcrypto#305
Fei-Guo merged 1 commit into
mainfrom
fix-dockerfile-error

Conversation

@rambohe-ch

Copy link
Copy Markdown
Collaborator

Set GOEXPERIMENT=nosystemcrypto for the CGO_ENABLED=0 Docker build. This fixes the GitHub Actions build failure in run 27665616025 (build-scan-publish-gh-images, job 81818886651) where Microsoft Go 1.26 defaults to systemcrypto on Linux, which otherwise requires CGO_ENABLED=1.

Also normalize FROM/AS casing in Dockerfile.

Set GOEXPERIMENT=nosystemcrypto for the CGO_ENABLED=0 Docker build.
This fixes the GitHub Actions build failure in run 27665616025
(build-scan-publish-gh-images, job 81818886651) where Microsoft Go
1.26 defaults to systemcrypto on Linux, which otherwise requires
CGO_ENABLED=1.

Also normalize FROM/AS casing in Dockerfile.
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.25%. Comparing base (f9203c2) to head (688b69a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #305   +/-   ##
=======================================
  Coverage   71.25%   71.25%           
=======================================
  Files           4        4           
  Lines         407      407           
=======================================
  Hits          290      290           
  Misses         98       98           
  Partials       19       19           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Fei-Guo Fei-Guo merged commit 90169ee into main Jun 17, 2026
5 of 6 checks passed
@Fei-Guo Fei-Guo deleted the fix-dockerfile-error branch June 17, 2026 04:47
@kaito-pr-agent

Copy link
Copy Markdown

Failed to generate code suggestions for PR

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.

3 participants