mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-04-08 20:04:14 +00:00
Merge pull request #1149 from balena-io/local-push-upgrades
Support nocache flag in push <ip>
This commit is contained in:
commit
6825ffe416
@ -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