@leverege/build-tools 1.13.5 → 1.13.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -311,6 +311,9 @@ gcloud config set project $project
311
311
  echo "Creating Docker Image for $gcimage:$version"
312
312
  echo " Building the workspace"
313
313
 
314
+ # use kaniko to cache builds
315
+ gcloud config set builds/use_kaniko True
316
+
314
317
  # submit the build request to gcloud
315
318
  gcloud builds submit --tag $gcimage:$version .
316
319
 
@@ -330,7 +333,6 @@ BUILDERR
330
333
  fi
331
334
 
332
335
  # Tag the container with the node detailsand the culprit.
333
- gcloud beta container images add-tag $gcimage:$version $gcimage:$pckgdts-$nodeimg-$USER
334
336
  gcloud beta container images add-tag --quiet $gcimage:$version $gcimage:$pckgdts-$nodeimg-$USER
335
337
 
336
338
  if [ $tagging ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "1.13.5",
3
+ "version": "1.13.7",
4
4
  "description": "A package for development build tools.",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/dockreate CHANGED
@@ -311,6 +311,9 @@ gcloud config set project $project
311
311
  echo "Creating Docker Image for $gcimage:$version"
312
312
  echo " Building the workspace"
313
313
 
314
+ # use kaniko to cache builds
315
+ gcloud config set builds/use_kaniko True
316
+
314
317
  # submit the build request to gcloud
315
318
  gcloud builds submit --tag $gcimage:$version .
316
319
 
@@ -330,7 +333,6 @@ BUILDERR
330
333
  fi
331
334
 
332
335
  # Tag the container with the node detailsand the culprit.
333
- gcloud beta container images add-tag $gcimage:$version $gcimage:$pckgdts-$nodeimg-$USER
334
336
  gcloud beta container images add-tag --quiet $gcimage:$version $gcimage:$pckgdts-$nodeimg-$USER
335
337
 
336
338
  if [ $tagging ];