mirror of
https://github.com/ershisan99/coolify.git
synced 2026-01-21 20:52:10 +00:00
feat: Cancel builds!
This commit is contained in:
@@ -24,6 +24,7 @@ export default async function ({
|
||||
.toString()
|
||||
.trim()
|
||||
.split('\n');
|
||||
Dockerfile.push(`LABEL coolify.buildId=${buildId}`);
|
||||
if (secrets.length > 0) {
|
||||
secrets.forEach((secret) => {
|
||||
if (secret.isBuildSecret) {
|
||||
@@ -42,6 +43,7 @@ export default async function ({
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
await fs.writeFile(`${dockerFileOut}${dockerFileLocation}`, Dockerfile.join('\n'));
|
||||
await buildImage({ applicationId, tag, workdir, docker, buildId, debug, dockerFileLocation });
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user