diff --git a/dist/mod_docker/mod.classes.dockerfile.js b/dist/mod_docker/mod.classes.dockerfile.js index ff936c0..01674cf 100644 --- a/dist/mod_docker/mod.classes.dockerfile.js +++ b/dist/mod_docker/mod.classes.dockerfile.js @@ -74,9 +74,9 @@ class Dockerfile { yield npmci_bash_1.bash(`docker run --name npmci_test_container --entrypoint="bash" ${this.buildTag} -c "mkdir /npmci_test"`); yield npmci_bash_1.bash(`docker cp ${testFile} npmci_test_container:/npmci_test/test.sh`); yield npmci_bash_1.bash(`docker commit npmci_test_container npmci_test_image`); - yield npmci_bash_1.bash('docker run --entrypoint="bash" npmci_test_image -x /npmci_test/test.sh'); - yield npmci_bash_1.bash('docker rm npmci_test_container'); - yield npmci_bash_1.bash('docker rmi --force npmci_test_image'); + yield npmci_bash_1.bash(`docker run --entrypoint="bash" npmci_test_image -x /npmci_test/test.sh`); + yield npmci_bash_1.bash(`docker rm npmci_test_container`); + yield npmci_bash_1.bash(`docker rmi --force npmci_test_image`); } else { plugins.beautylog.warn('skipping tests for ' + this.cleanTag + ' because no testfile was found!'); diff --git a/ts/mod_docker/mod.classes.dockerfile.ts b/ts/mod_docker/mod.classes.dockerfile.ts index 9264647..26d93b7 100644 --- a/ts/mod_docker/mod.classes.dockerfile.ts +++ b/ts/mod_docker/mod.classes.dockerfile.ts @@ -75,9 +75,9 @@ export class Dockerfile { await bash(`docker run --name npmci_test_container --entrypoint="bash" ${this.buildTag} -c "mkdir /npmci_test"`) await bash(`docker cp ${testFile} npmci_test_container:/npmci_test/test.sh`) await bash(`docker commit npmci_test_container npmci_test_image`) - await bash('docker run --entrypoint="bash" npmci_test_image -x /npmci_test/test.sh') - await bash('docker rm npmci_test_container') - await bash('docker rmi --force npmci_test_image') + await bash(`docker run --entrypoint="bash" npmci_test_image -x /npmci_test/test.sh`) + await bash(`docker rm npmci_test_container`) + await bash(`docker rmi --force npmci_test_image`) } else { plugins.beautylog.warn('skipping tests for ' + this.cleanTag + ' because no testfile was found!') }