Compare commits
2 commits
fb3b89c375
...
e0cb53ab31
Author | SHA1 | Date | |
---|---|---|---|
Jan Wagner | e0cb53ab31 | ||
Jan Wagner | 0be35bacbe |
11
main.js
11
main.js
|
@ -183,13 +183,22 @@ async function main() {
|
||||||
])
|
])
|
||||||
core.endGroup()
|
core.endGroup()
|
||||||
|
|
||||||
|
core.startGroup("Check sourceDirectory")
|
||||||
|
await exec.exec("docker", [
|
||||||
|
"exec",
|
||||||
|
container,
|
||||||
|
"ls", "-la", sourceDirectory
|
||||||
|
])
|
||||||
|
core.endGroup()
|
||||||
|
|
||||||
if (imageTag != "trusty") {
|
if (imageTag != "trusty") {
|
||||||
core.startGroup("Install build dependencies")
|
core.startGroup("Install build dependencies")
|
||||||
await exec.exec("docker", [
|
await exec.exec("docker", [
|
||||||
"exec",
|
"exec",
|
||||||
container,
|
container,
|
||||||
"bash", "-c",
|
"bash", "-c",
|
||||||
`apt-get build-dep -yq -t '${imageTag}' '${sourceDirectory}' || apt-get build-dep -yq '${sourceDirectory}'`
|
// `apt-get build-dep -yq -t '${imageTag}' '${sourceDirectory}' || apt-get build-dep -yq '${sourceDirectory}'`
|
||||||
|
`cd '${sourceDirectory}' && apt-get build-dep -yq -t '${imageTag}' . || apt-get build-dep -yq .`
|
||||||
])
|
])
|
||||||
core.endGroup()
|
core.endGroup()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue