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: build arm64 images #24

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

Conversation

thinkmassive
Copy link

Very useful project, thanks for publishing this!

I added arm64 images to the github workflow, and also bumped a few dependencies to make the build succeed. This is tested and works on the t2a instance type.

Building cross-architecture does take significantly longer (might be improved w/experimentation), and I understand it may introduce additional maintenance that isn't useful to you if you don't use ARM instances, so no worries if you don't care to merge all of this. Feel free to let me know if you prefer only a subset of my proposed changes, or for me to maintain this as a fork.

Trying to resolve:
panic: load embedded ruleguard rules: rules/rules.go:13: can't load fmt

Solution from:
golangci/golangci-lint#2374
Temporarily disable:
- G114: Use of net/http serve function that has no support for setting timeouts

https://github.com/securego/gosec#annotating-code
Github Actions image builds for arm64 are failing because the lint step
(Makefile:87) can take longer than 5 minutes.
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.

1 participant