Fix Docker Hub digest lookup for signed releases #317

Merged
arnaud.dartois merged 1 commits from fix/docker-registry-digest-314 into main 2026-11-10 13:23:49 +01:00
Owner

Refs #314

The first 1.0.0 publication pushed all three Docker Hub images but stopped before creating the Gitea release because the local Docker daemon exposed multiple RepoDigests for the GPU Agent image.

This resolves each immutable sha-<commit> tag through Docker Hub Registry v2, validates the returned SHA-256 digest, and records the canonical image reference. The offline release acceptance now exercises token and manifest endpoints.

Validation:

  • python3 scripts/ci/test_ci.py — 28 tests passed.
  • python3 scripts/ci/accept-release-offline.py — signed release simulation passed with 7 expected Gitea assets.
  • Disposable Compose project heimdall-release-digest-1794311909-10888 built Central from source and returned HTTP 200 from /healthz; teardown verified no containers, volumes, or networks, and removed/verified absent exact image tag heimdall:heimdall-release-digest-1794311909-10888-central.
  • git diff --check and Python compile checks passed.

After merge, move tag 1.0.0 to the corrected main commit and verify the real Docker Hub and Gitea publication run.

Refs #314 The first `1.0.0` publication pushed all three Docker Hub images but stopped before creating the Gitea release because the local Docker daemon exposed multiple `RepoDigests` for the GPU Agent image. This resolves each immutable `sha-<commit>` tag through Docker Hub Registry v2, validates the returned SHA-256 digest, and records the canonical image reference. The offline release acceptance now exercises token and manifest endpoints. Validation: - `python3 scripts/ci/test_ci.py` — 28 tests passed. - `python3 scripts/ci/accept-release-offline.py` — signed release simulation passed with 7 expected Gitea assets. - Disposable Compose project `heimdall-release-digest-1794311909-10888` built Central from source and returned HTTP 200 from `/healthz`; teardown verified no containers, volumes, or networks, and removed/verified absent exact image tag `heimdall:heimdall-release-digest-1794311909-10888-central`. - `git diff --check` and Python compile checks passed. After merge, move tag `1.0.0` to the corrected main commit and verify the real Docker Hub and Gitea publication run.
arnaud.dartois added 1 commit 2026-11-10 13:00:14 +01:00
fix(release): resolve image digests from Docker Hub
Heimdall Gitea / Detect CI scope (pull_request) Successful in 5s
Heimdall Gitea / Build and tests (pull_request) Successful in 22m43s
Heimdall Gitea / Build and scan server image (pull_request) Skipped
Heimdall Gitea / Build and scan agent image (pull_request) Skipped
Heimdall Gitea / Build and scan NVIDIA Agent image (pull_request) Skipped
Heimdall Gitea / Publish versioned installer release (pull_request) Skipped
Heimdall Gitea / CI policy (pull_request) Successful in 12s
aa141759a2
arnaud.dartois merged commit 9162e374f0 into main 2026-11-10 13:23:49 +01:00
arnaud.dartois deleted branch fix/docker-registry-digest-314 2026-11-10 13:23:49 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: arnaud.dartois/Heimdall#317