Skip to content

Commit 49924d6

Browse files
committed
fix: missing hyphens in LABELs
1 parent 2a79452 commit 49924d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/loadEnvFileAndPrefix.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ async function resolveEnvFilePath(filePath) {
1818
}
1919

2020
function formatDockerInstruction(prefix, key, value) {
21-
const cleanKey = key.replace(/[^A-Z0-9_.]/gi, "")
21+
const cleanKey = key.replace(/[^A-Z0-9._-]/gi, "")
2222
const cleanValue = String(value || "")
2323
.replace(/\\/g, "\\\\")
2424
.replace(/\$/g, "\\$")

0 commit comments

Comments
 (0)