generator-reshow 0.17.51 → 0.17.52

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.
@@ -41,7 +41,7 @@ jobs:
41
41
  name: build Docker image
42
42
  command: |
43
43
  VER_PREFIX=$(support/VER_PREFIX.sh)
44
- IMAGE_NAME=$(support/targetImage.sh)
44
+ IMAGE_NAME=$(support/remoteImage.sh)
45
45
  BUILD_VERSION=<< parameters.docker-tag >>
46
46
  BUILD_FOLDER=${VER_PREFIX}-<< parameters.docker-tag >>
47
47
  BUILD_ARG=""
@@ -43,7 +43,7 @@ push() {
43
43
  fi
44
44
  echo "* <!-- Start to push ${remoteImage}:$tag"
45
45
  IS_LOGIN=$(echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_LOGIN" --password-stdin)
46
- if ! [[ $IS_LOGIN =~ "Succeeded" ]]; then
46
+ if [ ! $IS_LOGIN=~"Succeeded" ]; then
47
47
  echo "Login Failed."
48
48
  exit 1
49
49
  fi
@@ -58,6 +58,7 @@ push() {
58
58
  echo "* Finish pushed -->"
59
59
  fi
60
60
  fi
61
+ docker logout
61
62
  }
62
63
 
63
64
  build() {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.17.51",
2
+ "version": "0.17.52",
3
3
  "name": "generator-reshow",
4
4
  "repository": {
5
5
  "type": "git",