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

ci: fix build docker image #269

Merged
merged 1 commit into from
May 19, 2023
Merged

Conversation

bondarslavik
Copy link
Contributor

  • fixed platforms
  • removed one step with the build (added 2 tags in one build)

Before:

image

$ time docker run --rm --volume=$(PWD):/check:delegated  mstruebing/editorconfig-checker
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

________________________________________________________
Executed in    6.42 secs      fish           external
   usr time   40.33 millis    0.08 millis   40.25 millis
   sys time   23.14 millis    1.19 millis   21.95 millis

After:

image

$ time docker run --rm --volume=$(PWD):/check:delegated  bondarslavik/editorconfig-checker

________________________________________________________
Executed in    3.82 secs      fish           external
   usr time   32.96 millis   78.00 micros   32.88 millis
   sys time   22.06 millis  832.00 micros   21.23 millis

Tested on MacBook M1Pro

@mstruebing mstruebing merged commit b058889 into editorconfig-checker:main May 19, 2023
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.

None yet

2 participants