Skip to content

feat(prelaunch): v0.0.13 - registry-aware login & GHCR pull verification#79

Merged
Leechael merged 1 commit intomainfrom
phala-cloud-prelaunch-script-v0.0.13
Feb 16, 2026
Merged

feat(prelaunch): v0.0.13 - registry-aware login & GHCR pull verification#79
Leechael merged 1 commit intomainfrom
phala-cloud-prelaunch-script-v0.0.13

Conversation

@Leechael
Copy link
Contributor

Summary

  • Enhanced check_docker_login() to accept a registry parameter and check Docker config for registry-specific auth entries
  • Added GHCR image pull access pre-verification via HTTP token exchange, catching permission issues before docker compose pull
  • Improved log messages to include the target registry name for better debugging

Test plan

  • Test with DSTACK_DOCKER_REGISTRY=docker.io (default Docker Hub)
  • Test with DSTACK_DOCKER_REGISTRY=ghcr.io and valid GHCR credentials
  • Test with DSTACK_DOCKER_REGISTRY=ghcr.io and invalid/expired GHCR credentials to verify error path
  • Test with AWS ECR credentials (unchanged path)
  • Verify no credentials are leaked in logs

…ll verification

- Support registry-specific auth check via Docker config lookup
- Add GHCR image pull access pre-verification using HTTP token exchange
- Include target registry in all login log messages
@Leechael Leechael merged commit 5c6bd1e into main Feb 16, 2026
6 checks passed
@Leechael Leechael deleted the phala-cloud-prelaunch-script-v0.0.13 branch February 16, 2026 14:48
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.

1 participant

Comments