mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-20 17:33:18 +00:00
Support nocache flag in push <ip>
Change-type: patch Closes: #1128 Signed-off-by: Cameron Diver <cameron@balena.io>
This commit is contained in:
parent
5ae7457f45
commit
b9bf00d329
@ -229,6 +229,7 @@ export const push: CommandDefinition<
|
||||
source,
|
||||
deviceHost: device,
|
||||
registrySecrets,
|
||||
nocache: options.nocache || false,
|
||||
}),
|
||||
)
|
||||
.catch(BuildError, e => {
|
||||
|
@ -43,6 +43,7 @@ export interface DeviceDeployOptions {
|
||||
deviceHost: string;
|
||||
devicePort?: number;
|
||||
registrySecrets: RegistrySecrets;
|
||||
nocache: boolean;
|
||||
}
|
||||
|
||||
async function checkSource(source: string): Promise<boolean> {
|
||||
@ -236,6 +237,7 @@ async function assignDockerBuildOpts(
|
||||
'io.resin.local.service': task.serviceName,
|
||||
},
|
||||
t: generateImageName(task.serviceName),
|
||||
nocache: opts.nocache,
|
||||
};
|
||||
if (task.external) {
|
||||
task.dockerOpts.authconfig = await getAuthConfigObj(
|
||||
|
Loading…
x
Reference in New Issue
Block a user