diff --git a/app/services/auth/container_registry_authentication_service.rb b/app/services/auth/container_registry_authentication_service.rb index 69ad634c368c0de42af319da501f6c832d30ef91..9bfc1085fb9d33820edb418b773da1e018c8b2af 100644 --- a/app/services/auth/container_registry_authentication_service.rb +++ b/app/services/auth/container_registry_authentication_service.rb @@ -16,7 +16,7 @@ module Auth def self.full_access_token(*names) registry = Gitlab.config.registry - token = ::JWT::RSAToken.new(registry.key) + token = JSONWebToken::RSAToken.new(registry.key) token.issuer = registry.issuer token.audience = AUDIENCE token[:access] = names.map do |name|