Registries
Add Registry
Add registry to the workspace
const { setToken, Workspaces } = require('@evecloud/sdk');
setToken('TOKEN');
Workspaces.registries.add('WORKSPACE_ID', {
name: 'EveCloud Registry',
url: 'registry.evecloud.xyz',
username: 'johndoe',
password: '*************',
}).then(data => {
console.log(data);
}).catch((error) => {
console.log(error);
});
Was this page helpful?
const { setToken, Workspaces } = require('@evecloud/sdk');
setToken('TOKEN');
Workspaces.registries.add('WORKSPACE_ID', {
name: 'EveCloud Registry',
url: 'registry.evecloud.xyz',
username: 'johndoe',
password: '*************',
}).then(data => {
console.log(data);
}).catch((error) => {
console.log(error);
});