Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
eaaf313442 | |||
68b2baadae |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@apiclient.xyz/docker",
|
"name": "@apiclient.xyz/docker",
|
||||||
"version": "1.1.2",
|
"version": "1.1.3",
|
||||||
"description": "Provides easy communication with Docker remote API from Node.js, with TypeScript support.",
|
"description": "Provides easy communication with Docker remote API from Node.js, with TypeScript support.",
|
||||||
"private": false,
|
"private": false,
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@apiclient.xyz/docker',
|
name: '@apiclient.xyz/docker',
|
||||||
version: '1.1.2',
|
version: '1.1.3',
|
||||||
description: 'Provides easy communication with Docker remote API from Node.js, with TypeScript support.'
|
description: 'Provides easy communication with Docker remote API from Node.js, with TypeScript support.'
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@ export class DockerImageStore {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Method to store tar stream
|
// Method to store tar stream
|
||||||
public async storeImage(imageName: string, tarStream: NodeJS.ReadableStream): Promise<void> {
|
public async storeImage(imageName: string, tarStream: plugins.smartstream.stream.Readable): Promise<void> {
|
||||||
const imagePath = plugins.path.join(this.options.dirPath, `${imageName}.tar`);
|
const imagePath = plugins.path.join(this.options.dirPath, `${imageName}.tar`);
|
||||||
|
|
||||||
// Create a write stream to store the tar file
|
// Create a write stream to store the tar file
|
||||||
|
Reference in New Issue
Block a user