function pushImage(repository) {
    const commandLine = `docker push ${repository}`;
    return new Promise((resolve, reject) =>
        command(commandLine, (err, stdout) => {
            if (err) {
                reject(err);
            }
            resolve(stdout);
        })
    );
}
function pushImage(repository) {
    const commandLine = `docker push ${repository}`;
    return new Promise((resolve, reject) =>
        command(commandLine, (err, stdout) => {
            if (err) {
                reject(err);
            }
            resolve(stdout);
        })
    );
}
function pushImage ( repository ) { const commandLine = ` ${ repository } ` ; return new Promise ( ( resolve , reject ) => command ( commandLine , ( err , stdout ) => { if ( err ) { reject ( err ) ; } resolve ( stdout ) ; } ) ) ; }
Pushes the locally constructed Docker image to the supplied respository
@param repository tag, for example: 111111111.dkr.ecr.us-east-1.amazonaws.com/sample
@returns {Promise<any>}
Pushes the locally constructed Docker image to the supplied respository
Pushes an image to the specified repository