-
Notifications
You must be signed in to change notification settings - Fork 11
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
feat: add multiarch build and release #278
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving as codeowner but @talalashraf or @erain9 should approve before merging.
This PR subsumes #274 so we can close that after merge.
@@ -36,59 +37,102 @@ jobs: | |||
submodules: recursive | |||
|
|||
- name: Install Cosign | |||
if: matrix.os == 'ubuntu-18.04' && matrix.arch == 'amd64' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not sign all binaries?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because it is related to docker images. Binaries are signed in gpg section
run: | | ||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | ||
|
||
- name: build binaries for Linux/MacOS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- name: build binaries for Linux/MacOS | |
- name: Build binaries |
Perhaps?
Update that will improve the build time.
|
2c5d941
to
b9f541e
Compare
@kalidax @milapsheth @ggutoski can we get this across the line ? |
This job will
Build and push an image to dockerhub.
Build tofnd binary, gpg sign it, zip it, create sha256 hashes for both zip and binary, upload files to release and S3.
For binary build the job will run on each combination of OS/arch defined in the matrix.
For the container build it will run one time only on ubuntu-18.04/amd64
Multiarch binary tests without docker push, upload to release and upload to s3 have been done here : https://github.com/axelarnetwork/tofnd/actions/runs/1921406385