Skip to content

Add private GHCR access for Agent scans - #25

Merged
Gabrielvcg merged 1 commit into
mainfrom
codex/agent-private-ghcr
Sep 21, 2026
Merged

Gabrielvcg merged 1 commit into
mainfrom
codex/agent-private-ghcr

Conversation

@Gabrielvcg

Copy link
Copy Markdown
Owner

Summary

  • mount a dedicated read-only Docker configuration into the production Agent
  • install the credential from a protected GHCR_AGENT_READ_TOKEN environment secret without sharing the host Docker login or socket
  • validate the mount in CI and document rotation and private-image operation

Verification

  • �ash -n deploy/deploy.sh
  • production Compose renders with DOCKER_CONFIG=/run/vulnflow-registry, a read-only credential mount, and no Docker socket
  • workflow YAML parses successfully
  • git diff --check

Deployment prerequisite

Create the protected production secret GHCR_AGENT_READ_TOKEN from a dedicated classic PAT carrying only
ead:packages. The deploy job intentionally refuses to proceed when it is absent.

@sonarqubecloud

Copy link
Copy Markdown

@Gabrielvcg
Gabrielvcg merged commit f6e9c2f into main Sep 21, 2026
5 checks passed
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