-
- Downloads
Create container repository on successful push auth
Because we do not have yet two way communication between container registry and GitLab, we need to eagerly create a new container repository objects in database. We now do that after user/build successfully authenticates a push action using auth service.
Showing
- app/models/container_repository.rb 2 additions, 1 deletionapp/models/container_repository.rb
- app/services/auth/container_registry_authentication_service.rb 16 additions, 0 deletions...ervices/auth/container_registry_authentication_service.rb
- lib/container_registry/path.rb 4 additions, 0 deletionslib/container_registry/path.rb
- spec/services/auth/container_registry_authentication_service_spec.rb 48 additions, 4 deletions...es/auth/container_registry_authentication_service_spec.rb
Please register or sign in to comment