@leverege/build-tools 2.0.4 → 2.0.5

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.
@@ -93,11 +93,14 @@ jobs:
93
93
  echo "export CONTAINER_NAME=\$(cat ~/project/container_name)" >> \$BASH_ENV
94
94
  echo "export PACKAGE_VERSION=\$(cat ~/project/package_version)" >> \$BASH_ENV
95
95
  echo "export NODE_IMAGE=\$(cat ~/project/node_img)" >> \$BASH_ENV
96
- - gcp-gcr/build-and-push-image
97
- - gcp-gcr/build-and-push-image
96
+ - gcp-gcr/gcr-auth
97
+ - gcp-gcr/build-image:
98
98
  image: \$CONTAINER_NAME
99
99
  tag: \$PACKAGE_VERSION
100
100
  path: docker
101
+ - gcp-gcr/push-image:
102
+ image: \$CONTAINER_NAME
103
+ tag: \$PACKAGE_VERSION
101
104
  - gcp-gcr/add-image-tag:
102
105
  image: \$CONTAINER_NAME
103
106
  source-tag: \$PACKAGE_VERSION
@@ -244,7 +247,7 @@ jobs:
244
247
  echo \${NODE_IMAGE} > node_img
245
248
  - run:
246
249
  name: Create Dockerfile and build dist directory
247
- command: npm run dockerize \$PACKAGE_VERSION
250
+ command: mkdir -p docker && npm run dockerize \$PACKAGE_VERSION
248
251
 
249
252
  - persist_to_workspace:
250
253
  root: ~/project
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "A package for development build tools.",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/circleate CHANGED
@@ -93,11 +93,14 @@ jobs:
93
93
  echo "export CONTAINER_NAME=\$(cat ~/project/container_name)" >> \$BASH_ENV
94
94
  echo "export PACKAGE_VERSION=\$(cat ~/project/package_version)" >> \$BASH_ENV
95
95
  echo "export NODE_IMAGE=\$(cat ~/project/node_img)" >> \$BASH_ENV
96
- - gcp-gcr/build-and-push-image
97
- - gcp-gcr/build-and-push-image
96
+ - gcp-gcr/gcr-auth
97
+ - gcp-gcr/build-image:
98
98
  image: \$CONTAINER_NAME
99
99
  tag: \$PACKAGE_VERSION
100
100
  path: docker
101
+ - gcp-gcr/push-image:
102
+ image: \$CONTAINER_NAME
103
+ tag: \$PACKAGE_VERSION
101
104
  - gcp-gcr/add-image-tag:
102
105
  image: \$CONTAINER_NAME
103
106
  source-tag: \$PACKAGE_VERSION
@@ -244,7 +247,7 @@ jobs:
244
247
  echo \${NODE_IMAGE} > node_img
245
248
  - run:
246
249
  name: Create Dockerfile and build dist directory
247
- command: npm run dockerize \$PACKAGE_VERSION
250
+ command: mkdir -p docker && npm run dockerize \$PACKAGE_VERSION
248
251
 
249
252
  - persist_to_workspace:
250
253
  root: ~/project