@magda/docker-utils 2.3.2-alpha.1 → 2.3.2-alpha.2

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.
@@ -264,7 +264,7 @@ function updateDockerFile(sourceDir, destDir) {
264
264
  const replacedDockerFileContents = dockerFileContents
265
265
  // Add a repository if this is a magda image
266
266
  .replace(
267
- /FROM .*(magda-[^:\s]+)(:[^\s]+)/,
267
+ /FROM .*(magda-[^:\s\/]+)(:[^\s]+)/,
268
268
  "FROM " + repository + "$1" + (tags[0] ? ":" + tags[0] : "$2")
269
269
  );
270
270
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@magda/docker-utils",
3
3
  "description": "MAGDA Docker Utilities",
4
- "version": "2.3.2-alpha.1",
4
+ "version": "2.3.2-alpha.2",
5
5
  "bin": {
6
6
  "create-docker-context-for-node-component": "./bin/create-docker-context-for-node-component.js",
7
7
  "retag-and-push": "./bin/retag-and-push.js"
@@ -15,7 +15,7 @@
15
15
  "license": "Apache-2.0",
16
16
  "main": "bin/create-secrets.js",
17
17
  "devDependencies": {
18
- "@magda/scripts": "^2.3.2-alpha.1"
18
+ "@magda/scripts": "^2.3.2-alpha.2"
19
19
  },
20
20
  "dependencies": {
21
21
  "fs-extra": "^2.1.2",