sparse-intern-71089
06/11/2020, 10:25 PMbillowy-army-68599
millions-judge-24978
06/11/2020, 10:46 PMmillions-judge-24978
06/11/2020, 10:50 PMconst containerRegistry = new ocean.ContainerRegistry(name, { name }, defaultOpts);
const credentials = new ocean.ContainerRegistryDockerCredentials(name, {
registryName: name,
write: true,
}, defaultOpts);
this.dockerProvider = new docker.Provider(name, {
registryAuth: [{
address: containerRegistry.serverUrl,
configFileContent: credentials.dockerCredentials,
}],
}, defaultOpts);
and then to use that created provider with a new docker.Image()
dazzling-sundown-39670
07/14/2020, 8:43 PMmillions-judge-24978
07/14/2020, 8:49 PMdazzling-sundown-39670
07/15/2020, 7:52 AMundefined
from credentials.dockerCredentials.apply((_creds_) => {
, any clue to what it could be?dazzling-sundown-39670
07/15/2020, 7:55 AMContainerRegistryDockerCredentials
outside of the class I get some data, but not the ones I needdazzling-sundown-39670
07/15/2020, 8:13 AMerror: registry not found: GET <https://api.digitalocean.com/v2/registry>: 404 registry does not exist
millions-judge-24978
08/12/2020, 8:29 PMundefined
nowmillions-judge-24978
08/12/2020, 8:37 PMexpirySeconds: 1576800000
fixes it