dchaley / deepcell-imaging

Tools & guidance to scale DeepCell imaging on Google Cloud Batch
7 stars 2 forks source link

Push builds to GCP Artifact Registry and Docker Hub #261

Closed dchaley closed 2 weeks ago

dchaley commented 2 weeks ago

Set up a build config that pushes the container to both private Artifact Registry & public Docker Hub.

Redirects the GitHub actions workflow to use this new config.

While we're here, remove graphviz from container dependencies– this should save on fonts & stuff, I think we got it from copy/pasta.

dchaley commented 2 weeks ago

Effect of removing graphviz:

Before:

0 upgraded, 63 newly installed, 0 to remove and 37 not upgraded.
Need to get 123 MB of archives.
After this operation, 668 MB of additional disk space will be used.

After:

Step #1: 0 upgraded, 20 newly installed, 0 to remove and 37 not upgraded.
Step #1: Need to get 113 MB of archives.
Step #1: After this operation, 644 MB of additional disk space will be used.

43 packages saved … but only 10 MB download, 24 MB uncompressed. Lean library code 👍🏻