Publish standalone regtest image #1481
Merged
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.
Follow up to the standalone regtest image implemented in #1476
This PR adds a workflow_dispatch (manually triggered CI) config to build the new image.
/v2/info
and/extended/v1/status
) will show the commit hashes but the branch/version will be stubbed. This can be fixed once the Stacks 2.1 related branches on the blockchain repo and API repo become more stabilized.${date YYYYMMDDHH}-${STACKS_API_SHA}-${BLOCKCHAIN_SHA}
-- this can also be improved later once the repo branches stabilize.Currently, this workflow must be ran with this blockchain commit: stacks-network/stacks-core@b16e121
See example of running this workflow: https://github.com/hirosystems/stacks-blockchain-api/actions/runs/3648003869/jobs/6161211248
And the image it published: https://hub.docker.com/layers/hirosystems/stacks-blockchain-api-standalone-regtest/2022120812-88f446b-b16e121/images/sha256-726d8b52bdea017ed3f46f1341da755f288b4a94caace5a017a2799a56914bc0?context=explore