Dix the packer cache script

This commit is contained in:
Alpar Torok 2019-04-23 14:54:57 +03:00
parent a74ba7d5ba
commit 58dd88329f
1 changed files with 3 additions and 1 deletions

View File

@ -142,4 +142,6 @@ assemble.dependsOn "buildDockerImage"
// We build the images used in compose locally, but the pull command insists on using a repository // We build the images used in compose locally, but the pull command insists on using a repository
// thus we must disable it to prevent it from doing so. // thus we must disable it to prevent it from doing so.
// Everything will still be pulled since we will build the local images on a pull // Everything will still be pulled since we will build the local images on a pull
tasks.matching { name == "composePull" }.all { enabled = false } if (tasks.findByName("composePull")) {
tasks.composePull.enabled = false
}