Skip to content

Commit 009a69f

Browse files
cursoragentpRizz
andcommitted
chore(docker): align primary registry ordering in comments
Co-authored-by: Peter Ryszkiewicz <pRizz@users.noreply.github.com>
1 parent efd4a31 commit 009a69f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/core/src/docker/dockerfile.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ pub const DOCKERFILE: &str = include_str!("Dockerfile");
2323
// - Tag: Version identifier (e.g., latest, v1.0.0). Defaults to "latest" if omitted.
2424
//
2525
// Examples:
26-
// ghcr.io/prizz/opencode-cloud-sandbox:latest - GitHub Container Registry
2726
// prizz/opencode-cloud-sandbox:latest - Docker Hub (registry omitted)
27+
// ghcr.io/prizz/opencode-cloud-sandbox:latest - GitHub Container Registry
2828
// gcr.io/my-project/myapp:v1.0 - Google Container Registry
2929
//
3030
// We publish to both Docker Hub (primary runtime tag) and GHCR (fallback pull source)

packages/core/src/docker/image.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ fn profile_scoped_image_ids(images: &[bollard::models::ImageSummary]) -> Option<
6363
let names = active_resource_names();
6464
let instance_id = names.instance_id.as_deref()?;
6565
let expected_tags = [
66-
format!("{IMAGE_NAME_GHCR}:{}", names.image_tag),
6766
format!("{IMAGE_NAME_DOCKERHUB}:{}", names.image_tag),
68-
format!("{IMAGE_NAME_GHCR}:{}", names.previous_image_tag),
67+
format!("{IMAGE_NAME_GHCR}:{}", names.image_tag),
6968
format!("{IMAGE_NAME_DOCKERHUB}:{}", names.previous_image_tag),
69+
format!("{IMAGE_NAME_GHCR}:{}", names.previous_image_tag),
7070
];
7171

7272
// In isolated mode, avoid broad "contains name fragment" matching and only remove

0 commit comments

Comments
 (0)