fix: image as last argument of docker run

This commit is contained in:
Jeroen de Bruijn 2020-05-03 18:33:42 +02:00
parent f13bd58e77
commit bb8b0ad0d8
No known key found for this signature in database
GPG key ID: 3A2677A1DF38FF9F

View file

@ -14,9 +14,9 @@ class Renovate {
runDockerContainer(): void {
const commandArguments = [
'--rm',
this.docker.image(),
`--env ${this.configurationFileEnv}='${this.configurationFile}`,
`--env ${this.tokenEnv}='${this.token}`,
this.docker.image(),
];
const command = `docker run ${commandArguments.join(' ')}`;