fix: docker images

This commit is contained in:
hazre committed 2026-03-12 00:31:27 +01:00
1 parent a27595b51b
commit e44ee39b5e
5 files changed
+21 -11

No files matched your search

+5
View File
@@ -115,6 +115,11 @@ function isPathWithin(candidatePath, rootPath) {
const logger = new PrefixedLogger('[postinstall:knope]');
const { dim, red, green } = createTextHelpers({ useColor: logger.useColor });
if (process.env.GITHUB_ACTIONS && process.env.CI) {
logger.info(`${dim('Running in CI environment, skipping knope installation')}`);
process.exit(0);
}
const target = TARGETS[`${process.platform}-${process.arch}`];
if (!target) {
const supported = Object.keys(TARGETS).join(', ');