Skip to content

Commit

Permalink
Also old path for composer 1 (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksm authored Dec 14, 2024
1 parent 678f893 commit a2e5697
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions built/createJob.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion built/createJob.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions src/createJob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ function createJob (config, job: Job, gitRev) {
if (data.php_version === '7.2') {
cmd = '/usr/src/myapp/runner.php'
}
if (data.composer_version === '1') {
cmd = '/usr/src/myapp/runner.php'
}
const container = await docker.run(dockerImage, ['php', cmd], [stdout, stderr], {
HostConfig: getHostConfig(type, config),
Env: env,
Expand Down

0 comments on commit a2e5697

Please sign in to comment.