diff options
Diffstat (limited to 'app/services/auth')
-rw-r--r-- | app/services/auth/container_registry_authentication_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/auth/container_registry_authentication_service.rb b/app/services/auth/container_registry_authentication_service.rb index dcb728b6151..d58ff589be1 100644 --- a/app/services/auth/container_registry_authentication_service.rb +++ b/app/services/auth/container_registry_authentication_service.rb @@ -94,7 +94,7 @@ module Auth return if path.has_repository? return unless actions.include?('push') - ContainerRepository.create_from_path(path) + ContainerRepository.create_from_path!(path) end def can_access?(requested_project, requested_action) |