sbtc-developer-release icon indicating copy to clipboard operation
sbtc-developer-release copied to clipboard

Add Docker Image Publishing to CI

Open AshtonStephens opened this issue 2 years ago • 3 comments

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

AshtonStephens avatar Oct 06 '23 16:10 AshtonStephens

Cc @wileyj

friedger avatar Oct 06 '23 21:10 friedger

This will be a massive help to people in sbtc-testnet who are currently engaging with sbtc.

mijoco-btc avatar Oct 31 '23 11:10 mijoco-btc

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%.

Rapha-btc avatar Oct 31 '23 15:10 Rapha-btc