fix(core): update

This commit is contained in:
Philipp Kunz 2019-09-13 18:16:21 +02:00
parent 1fbc09f557
commit 0e4e07a912

View File

@ -56,7 +56,7 @@ export class DockerHost {
/**
* gets the token from the .docker/config.json file for GitLab registry
*/
public getGitlabComTokenFromDockerConfig() {
public async getGitlabComTokenFromDockerConfig() {
const dockerConfigPath = plugins.smartpath.get.home('~/.docker/config.json');
const configObject = plugins.smartfile.fs.toObjectSync(dockerConfigPath);
this.registryToken = configObject.auths['registry.gitlab.com'].auth;