Skip to content

Conversation

@prem-prakash
Copy link

@prem-prakash prem-prakash commented Dec 28, 2025

Summary

Add a Docker registry credentials table and let each application choose a single registry credential for auth during deploys.

Changes

  • New Docker registry model, policy, migrations, and Security UI.
  • Applications can select one registry credential.
  • Deploy login uses the selected registry credentials.
  • API accepts docker_registry_id.

@gitguardian
Copy link

gitguardian bot commented Dec 28, 2025

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them.
While these secrets were previously flagged, we no longer have a reference to the
specific commits where they were detected. Once a secret has been leaked into a git
repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@prem-prakash prem-prakash force-pushed the fix-docker-registry-credentials branch from f02e811 to 9496998 Compare December 28, 2025 03:50
- Remove `required_with` validation rules that caused asymmetric errors
- Add explicit null checks after trimming for clearer validation logic
- Fix Show component to add errors to both fields when credentials incomplete
- Add comprehensive tests for create/edit flows and credential handling
- Use stdClass in unit tests to avoid encryption issues

Changes:
- Create.php: Replace `required_with` with custom validation after trim
- Show.php: Combine credential checks to ensure both fields error together
- Added DockerRegistryLivewireTest.php with 4 feature tests (24 assertions)
- Added ApplicationDeploymentJobDockerRegistryLoginTest.php with 2 unit tests

All tests passing (6 tests, 31 assertions).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
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