@docupace/pipeline 1.0.39-matttest.17 → 1.0.39-matttest.18
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.
- package/package.json +1 -1
- package/src/next/util.js +1 -1
package/package.json
CHANGED
package/src/next/util.js
CHANGED
|
@@ -84,7 +84,7 @@ export async function dockerBuild(buildPath) {
|
|
|
84
84
|
process.env.DOCKER_HOST = '';
|
|
85
85
|
const imageName = `${process.env.BITBUCKET_REPO_SLUG}:sha-${process.env.GIT_SHA}-withMaps`;
|
|
86
86
|
console.log(`Building Docker image ${imageName}...`);
|
|
87
|
-
await $`docker build --secret id=npm_token,env=DOCUPACE_NPM_TOKEN
|
|
87
|
+
await $`docker build --secret id=npm_token,env=DOCUPACE_NPM_TOKEN . --file ${path.resolve(buildPath, 'Dockerfile')} --target builder --tag ${imageName}`;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
export async function setGitInfo() {
|