sbtc-developer-release
sbtc-developer-release copied to clipboard
Add Docker Image Publishing to CI
Description
We want to cut down on devenv boot up time by publishing the built images to docker hub.
Context
We've set up a local development environment that takes around 10 or so minutes to spin up the first time around in order to build the sBTC docker images. In this ticket we'll be publishing each of the images that aren't already on docker hub to docker hub under the blockstack org.
Expected Approach
- Generate the images in CI for at least x86 and ARM architectures
- Publish them to docker hub using a GH secret to the blockstack org
Acceptance Criteria
- [ ] CI will publish docker containers when manually triggered.
- [ ] Images are published in dockerhub such that sBTC devs won't need to build the containers themselves when running
devenv
Cc @wileyj
This will be a massive help to people in sbtc-testnet who are currently engaging with sbtc.
I know 5 devs, typically using WSL, who've faced lengthy issues. If most images are built just once due to static dependencies, it could cut build time and environment-specific errors by 80%.