Improve help description for --nocache option of balena push

Change-type: patch
Signed-off-by: Vipul Gupta (@vipulgupta2048) <vipul@balena.io>
This commit is contained in:
Vipul Gupta (@vipulgupta2048) 2020-07-08 13:51:56 +05:30 committed by Balena CI
parent a27536045d
commit b1ab0337c0
2 changed files with 11 additions and 2 deletions

View File

@ -2074,7 +2074,11 @@ Alternative Dockerfile name/path, relative to the source folder
#### --nocache, -c
Don't use cache when building this project
Don't use cached layers of previously built images for this project. This ensures
that the latest base image and packages are pulled. Note that build logs may still
display the message _"Pulling previous images for caching purposes" (as the cloud
builder needs previous images to compute delta updates), but the logs will not
display the "Using cache" lines for each build step of a Dockerfile.
#### --noparent-check

View File

@ -192,7 +192,12 @@ export const push: CommandDefinition<
{
signature: 'nocache',
alias: 'c',
description: "Don't use cache when building this project",
description: stripIndent`
Don't use cached layers of previously built images for this project. This ensures
that the latest base image and packages are pulled. Note that build logs may still
display the message _"Pulling previous images for caching purposes" (as the cloud
builder needs previous images to compute delta updates), but the logs will not
display the "Using cache" lines for each build step of a Dockerfile.`,
boolean: true,
},
{