Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
For the release CI to release statically built binaries and leverage pre-built binaries for release docker images to save CI time.
Explanation of Changes
Updates
Dockerfile.static
to use go1.21
, which cosmos SDK0.50
requires.Removes the
Dockerfile.node-static
since using a static file inDocker
doesn't matter.Adds a
Dockerfile.build-static
which compiles the chain statically for bothamd
andarm
.Modifies the Release pipeline in the following ways:
goreleaser
; unfortunately, it didn't support cross-compiling CGO as far as I could determine.Testing
I tested the CI in a forked version and ensured it ran successfully and releases. I tested the binary itself and the docker image as much as possible. However, it failed to join
devnet
, and I think this is because the binary is the new SDK version.Related PRs and Issues
Closes #105.
Closes #106.