Skip to content

Conversation

@sirewix
Copy link
Contributor

@sirewix sirewix commented Jun 10, 2025

  • Update to new harbor registry
  • Removed beta rustup toolchain channel
  • Using default stable on rust image, do not download again
  • Removed seemingly unused components
  • use action to build image for ghcr registry Our docker flow seems not work anymore with ghcr.io

@sirewix sirewix requested a review from a team as a code owner June 10, 2025 18:05
@sirewix sirewix force-pushed the sirewix/optimizations branch 3 times, most recently from 7db6b50 to 4a00fd3 Compare June 10, 2025 18:34
@tlater-famedly
Copy link
Contributor

We should open a separate issue about this, but given how much of this is package caching and such, I wonder if we could effectively use the fancy cache mounting features and a GitHub action cache to speed up the builds (and slim down the resulting images).

@sirewix sirewix marked this pull request as draft June 11, 2025 09:32
@skomski skomski force-pushed the sirewix/optimizations branch 4 times, most recently from 28c3839 to 812ef7a Compare August 5, 2025 17:00
@skomski skomski force-pushed the sirewix/optimizations branch 2 times, most recently from e0ad686 to 6f9529b Compare August 6, 2025 11:09
@skomski skomski force-pushed the sirewix/optimizations branch 3 times, most recently from 533d9a7 to ed0d976 Compare August 7, 2025 13:39
@skomski skomski force-pushed the sirewix/optimizations branch from ed0d976 to 6c904ff Compare August 7, 2025 16:27
@skomski skomski marked this pull request as ready for review August 7, 2025 16:28
@skomski skomski changed the title refactor: slim down image, use action to build image for ghcr registry refactor: slim down image Aug 7, 2025
@skomski skomski changed the title refactor: slim down image fix: Update to new registry and refactor: slim down image Aug 7, 2025
Copy link
Contributor

@tlater-famedly tlater-famedly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this a lot, let's get it merged ASAP and stop wasting storage and CI credits :D

Copy link
Contributor

@tlater-famedly tlater-famedly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just actually noting this in review so we don't merge this before it's approved - cargo-binstall isn't on our allowed software source list, but we've started the process.

@skomski skomski merged commit 6c904ff into main Aug 11, 2025
8 checks passed
@skomski skomski deleted the sirewix/optimizations branch August 11, 2025 11:13
@nico-famedly
Copy link
Member

The ghcr incompatibility is most likely because the REGISTRY_PASSWORD is set now (instead of NEXUS_PASSWORD or HARBOUR_PASSWORD)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants